laventura / kaggle-talkingdata-visualization

Source code for blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python

Home Page:http://adilmoujahid.com/posts/2016/08/interactive-data-visualization-geospatial-d3-dc-leaflet-python/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Source Code for my blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python

#Dependencies

You need Python 2.7.x and 3 Python libraries: Pandas, Flask, Shapely.

The easiest way to install Pandas is to install it as part of the Anaconda distribution.

You can install Flask and Shapely using pip.

pip install flask shapely

#How to run the code

  1. Install all Python dependencies
  2. 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.
  3. Save the dataset in the input folder.
  4. From the root folder, run python app.py

#Visit my Blog : http://adilmoujahid.com

About

Source code for blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python

http://adilmoujahid.com/posts/2016/08/interactive-data-visualization-geospatial-d3-dc-leaflet-python/


Languages

Language:JavaScript 73.3%Language:CSS 16.6%Language:HTML 6.7%Language:Python 3.4%