Creating and Publishing Maps with D3, Dymo, and PhantomJS
JavaScript Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Images
SHP/PortlandNeighborhoods
.gitignore
LICENSE.txt
README.md
dymo_input.csv
dymo_prep.py
index.html
labels.json
labels.topo.json
labels_overlap.json
labels_overlap.topo.json
mymap.pdf
neighborhoods.geojson
neighborhoods.topo.json
points.json
rasterize.js

README.md

Portland Map Demo

final

both

This repo contains the data referenced in the blog post Creating and Publishing Maps with D3, Dymo, and PhantomJS.

The data description and sources are as follows:

  • Shapefiles: Portland Data Catalog
  • dymo_input.csv: Input for Dymo
  • dymo_prep.py: Python Dymo prep tool
  • index.html: D3.js code for map
  • labels_overlap.json, .topo.json: Dymo labels including overlapping labels
  • labels.json, .topo.json: Dymo labels not including overlaps
  • mymap.pdf: Example of map rendered to PDF with PhantomJS
  • neighborhoods.geojson, .topo.json: Portland Shapefile data converted to geojson with GDAL, then to TopoJSON
  • points.json: Dymo point ouput, centered on neighborhood centroids
  • rasterize.js: Script from PhantomJS examples folder, BSD licensed

Everything but the rasterize.js script and original Shapefile data is MIT licensed.