Technical Challenge Specification
“Views” allows Statistic Summaries to be built and stored. These are rendered as a formatted table of Categories, titles, and numbers.
We have a client that would like to smarten up and publish one for their summaries to make use of the graphical charting capabilities of HighCharts. The Statistic Summary that they want to apply this to can be found at: [login to view URL]
The end goal is to have a single PHP generated HTML report using Bootstrap and HighCharts that represents the tabular information from the basic Statistic Summary. The structure of this page should represent the original data with regards to the sections and sub-sections of the summary. However, the rest of the styling is up to you, but should consist of charts and headline figures. We encourage you to show your creative flair.
You can chose to access the data via pulling the CSV available from the Download/Export button or processing the original HTML (.minireport)
The script should be built using native PHP i.e. no system calls. The script should also not use any 3rd party libraries for the backend code and the front end should ideally be limited to Bootstrap, jQuery and HighCharts.
Views supports OAuth2 authentication, you can access the Statistic Summary directly via the following URL:
[login to view URL]<username> &access_token=<access_token>
Hint: You can retrieve an access_token using the following cURL command:
curl -u <username>:<password> -X POST [login to view URL]
HighCharts [login to view URL]
Bootstrap [login to view URL]
jQuery [login to view URL]