Basic Grouped Row Chart

The grouped row chart is used to compare a series of data elements grouped along the yAxis. This chart is often useful in conjunction with a stacked row chart because they can use the same data series, and where the stacked row highlights the sum of the data series across an axis the grouped row can be used to show the relative distribution.

This example also demonstrates one of the various data parsers available to developers using d4. In this example, we use the nestedGroup parser which makes it trivial for the developer to prepare the incoming data in a way that the chart expects it.

JavaScript Code