in packages/showcase/plot/area-chart.js [32:50]
export default function Example() {
return (
<XYPlot width={300} height={300}>
<VerticalGridLines />
<HorizontalGridLines />
<XAxis />
<YAxis />
<AreaSeries
className="area-series-example"
curve="curveNatural"
data={[
{x: 1, y: 10},
{x: 2, y: 5},
{x: 3, y: 15}
]}
/>
</XYPlot>
);
}