python script to ingest a csv and convert it to the flare.json format used by many D3.js visualizations
-
Change the file input and output paths
-
Swap the default csv column names for your own.
###notes###
-
This script creates outputs a flare.json file with 2 levels of nesting. For additional nested layers, add them in lines 32 - 47
-
sample viz using flare.json: http://bl.ocks.org/mbostock/1283663