Uncommented demo code.
Output JSON for D3.js visualizations.