skip to navigation
skip to content

Not Logged In

quickD3map 0.1.2

Generate quick d3 maps from location data in pandas

Latest Version: 0.1.4

#quickD3map

### D3 Point Maps from Pandas DataFrames

quickD3map allows you to rapidly generate D3.js maps from data from within
the pandas/ipython ecosystem by converting Latitude/Longitude Data in to points


####Note: this is an experimental repo and not ready for use.
With that said, basic maps can be generated and below are a few examples of how they are made.

quickD3map creates a template file and then runs Flask App to display it.
```python
from quickD3map import PointMap
import statsmodels.api as sm
import pandas as pd

#import some data
quakes = sm.datasets.get_rdataset('quakes','datasets')
qdf = pd.DataFrame( quakes.data )
oldmaps = sm.datasets.get_rdataset('OldMaps','HistData')
omdf = pd.DataFrame(oldmaps.data)

#make a map
PointMap(qdf).display_map()
PointMap(omdf).display_map()
````

###Project Goals
The goal of this project is rather limited in scope:
- be able to rapidly plot location data from Pandas dataframes
- be able to color by another column
- be able to scale by another column
- be able to plot connections between plots

I intend to include several map templates (geojson files) and will try to
figure out a template style that can provide the ability to include maps of many types.
Just thinking aloud here but the best way to do this would be to standardize the
geojson input types for features so that loading of data (as JSOn strings) can be seperated
from everything else (transformation,scaling, etc.)


###Thanks.
To Mike Bostocks and the D3JS team, as well as to Rob Story and the Folium libary.


#History


0.1.2 (2014-03-21)
++++++++++++++++++
* Updated README with some rudimentary Documentation

0.1.1 (2014-03-19)
++++++++++++++++++
* Fix Manifest file to include template directory

0.1.0 (2014-03-19)
++++++++++++++++++
* First release on PyPI.  
File Type Py Version Uploaded on Size
quickD3map-0.1.2.tar.gz (md5) Source 2014-03-21 640KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 56 downloads in the last week
  • 289 downloads in the last month