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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top