Basic Line Chart

The line series chart is used to compare a series of data elements grouped along the xAxis.

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