Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adilmoujahid/kaggle-talkingdata-visualization
Source code for blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python
https://github.com/adilmoujahid/kaggle-talkingdata-visualization
Last synced: 3 months ago
JSON representation
Source code for blog post: Interactive Data Visualization of Geospatial Data using D3.js, DC.js, Leaflet.js and Python
- Host: GitHub
- URL: https://github.com/adilmoujahid/kaggle-talkingdata-visualization
- Owner: adilmoujahid
- Created: 2016-07-21T16:28:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-13T18:34:14.000Z (almost 8 years ago)
- Last Synced: 2024-07-18T17:53:15.638Z (4 months ago)
- Language: JavaScript
- Homepage: http://adilmoujahid.com/posts/2016/08/interactive-data-visualization-geospatial-d3-dc-leaflet-python/
- Size: 970 KB
- Stars: 338
- Watchers: 27
- Forks: 138
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Source Code for my 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/)
![](data-viz-talkingdata.gif)
#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](https://www.continuum.io/downloads).
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](https://www.kaggle.com/c/talkingdata-mobile-user-demographics/data). 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