Line / Area Chart
This example demonstrates how to render a simple Cartesian chart with a line and an area series. The chart is constructed from the following components:
- A Cartesian chart, with linear scales for x and y, is used to render the plot area, axes and labels.
- The data is rendered via a line series and an area series, these are combined into a single series using the multi series component.
- A gridlines component is also added to the multi series.
- The extent utility function is used to calculate the domain for the x and y scale, with padding applied to the y scale.
forked from ColinEberhardt's block: Line / Area Chart