A Project to Visualize history of election results in India on Map.
This is a Python 3.6 module that depends on the Folium Pandas and GeoPandas packages.
- Clone and
cd
into this repo. - Install Python 3.6.
- Install requirements from pip with
python3 -m pip install -r requirements.txt
. - Test the program by running
VisualizeRulingPartyHistory.py
Just run VisualizeRulingPartyHistory.py
file. The output will be a html file ruling_political_party_in_india.html
under \maps
folder.
All data used in this example is sourced from internet.
- Shape Files
- Historical Election Results
- Election Commission of India
This is the output of the project. Please refer the below wikipedia page to determine the color code
All data used in this example is sourced from internet. The Author does not take guarantee of accuracy.