Data for this analysis has been taken from Election Commission of India
Copy the data from Election commission of India site to LokShaba 2019 TN Candidate Vote Shares.ods
file
Install the dependencies using
npm i
Run the data generate,
node index.js
You can see that formatted_data.json
and party_data.json
gets generate in docs/data/
Once you've the file with you, cd in to docs/
python -m SimpleHTTPServer
- Nodejs > 8