All examples By author By category About

darrenjaworski

Oklahoma Census Tracts

Fork of this.

Use us-atlas to create Oklahoma census tracts shapefile.

$ make shp/ok/tracts.shp

Then create topojson file and project using --projection.

$ topojson --id-property GEOID,GEO.id2 -s 1 --projection 'd3.geo.mercator().center([-97.5350, 35.4822]).scale(6.5 * 960).translate([960 / 1.56, 500 / 2])' -o ok-tracts.json -- ../data/shp/tracts.shp