Chart.js: Plotting Graph Data

This is an experiment in visualising agricultural data on an interactive graph.

My source of data was a Microsoft Excel file.

I converted the document to a CSV file and ran regular expressions to remove unneeded portions of text. The results were then stored in a database. When an option is selected an AJAX request is made and a JSON file containing the relevant data is returned..

The data is loaded into Char.js and given formatting and styling, along with options to enable or disable datasets.

Link: Agricultural History