Data project with the graphs generated on the browser using HighCharts.
Download the csv file from the link and paste it in the directory datasets/csv
with the name population_estimates_csv.csv
datasets/csv/population_estimates_csv.csv
You can clone this repo and follow the steps :
python3 generating_json.py
That will generate the JSON files.
NOTE: There should be json
folder in datasets
folder, like datasets/json
, otherwise, it will throw a error that directory not exist.
Next run the command :
python3 -m http.server
It starts a localhost server. Head to that url and open project.html
file to see the graphs.
Alternatively, Click this Link to see the hosted website on Heroku.
JSON files are located in datasets/json
for each graph.
JSON files only contains data required for respective graph plots.
I have used HighCharts JavaScript Lib for plotting graphs on Browser.