Search code examples
javascriptd3.jsvisualizationgraph-visualization

Is it possible to draw a stacked density graph like this one in d3.js?


Is it possible to draw a stacked density graph like this one in d3.js?

NYC 911 calls

Reference: http://www.wired.com/2010/11/ff_311_new_york/


Solution

  • Yes, it certainly is. d3.layout.stack is what you're looking for:

    http://bl.ocks.org/mbostock/4060954