###Creating static data visualizations with D3.js and Node.js###
See the accompanying blog post for more details on how to create static data viz using D3.js and Node.js
Re-creates Mike Bostock's area choropleth example for Node.js. Allows for output/creation of a non-interactive SVG via the command line.
Requires Node.js and npm. You will also need D3.js for Node.js, installed via,
npm install d3
Command line usage (outputs area_choropleth.svg):
node area_choropleth.js > area_choropleth.svg
Example output (png converted from svg)
This example recreates a visualization using the following data and JS packages:
- us.json - US county data (created by Mike Bostock)
- topojson client API - converts Topojson to Geojson
- D3.js - JavaScript library for manipulating documents based on data