Source Code for my blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python
Python 2.7.x and 3
The easiest way to install
Pandas is to install it as part of the Anaconda distribution.
You can install
pip install flask shapely
How to run the code
- Install all Python dependencies
- Download the dataset (gender_age_train.csv, events.csv, phone_brand_device_model.csv) from Kaggle. You need to create a Kaggle account and agree to the competition rules to download the data.
- Save the dataset in the
- From the root folder, run