Question

I would like to generate a stacked bar chart (similar to http://bl.ocks.org/mbostock/1134768) where the total height of each bar is the same and the width varies. This kind of chart is also known as Marimekko chart.

So far my attempts to make the width vary based on a value in the csv file have failed. Any suggestions would be appreciated.

Was it helpful?

Solution

The Marimekko chart at http://bl.ocks.org/mbostock/1005090 is what I was looking for.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top