Search code examples
javascriptchartsd3.jsstacked-area-chart

How would I go about making stacked area chart with overlapping areas?


I would like to make an area chart like this: with d3.js javascript library. Is this possible?

I know it is possible to do this with the Google Visualization API, see this answered question


Solution

  • Yes, it's possible. You just need a path element that defines each block, and to specify a fill opacity