Based on Crime in India - Volume 1 (NCRB)
Exact PDF : CII 2019 Volume1
You can check out the website at : Crime Data Visualization Project
- Raw Data Files (Both .pdf and .csv files) [Data is extracted from PDF in the range of pages : 34-37]
- SVG-Files
- Web Assets for the Website
- Python Scripts to generate Line Charts and Pie Charts of Data (.svg format). (Jupyter Notebook .ipynb files also included).
- Download/clone the git repository.
- Open terminal/Command Prompt at that directory.
- Write the following command to install the required pip libraries:
$ pip install -r requirements.txt
$ pip3 install -r requirements.txt
- Now you can run the two Python scripts to generate .svg files either as a program or using commands :
$ python "Pie-Chart-SVG.py"
$ python "Line-Chart-SVG.py"
$ python3 "Pie-Chart-SVG.py"
$ python3 "Line-Chart-SVG.py"