Skip to content

This is Project on Visualizing the Crime Data (2017-2019), taken from "Crime in India-Volume 1" from NCRB.

License

Notifications You must be signed in to change notification settings

goldenryu2000/Crime-Visualization-Project

Repository files navigation

Crime Data Visualization Project

Exact PDF : CII 2019 Volume1

You can check out the website at : Crime Data Visualization Project

This Project Contains :

  • 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).

Sample Pie Chart

How to run the SVG Script:

  • 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

or

$ 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"

Or

$ python3 "Pie-Chart-SVG.py"
$ python3 "Line-Chart-SVG.py"

Some Screenshots:

Jupyter Notebook Img Screenshot-1 Screenshot-2 Screenshot-3 Screenshot-3