🌍 Public
Viewing a saved revision (read-only)
5339c6aba6a34429bb314874848c5079
Fork of Area Chart Activity 8
This area chart displays the cost of sales from 2000 to 2013, using a smooth curved line and a light green filled region beneath it to emphasize the trend. The visualization encodes yearly dates on a time-scaled x-axis and cost values on a linear y-axis, with red tick labels and orange axis labels. It loads CSV data from a GitHub gist and renders SVG paths using D3 v5’s `csv`, `scaleTime`, `scaleLinear`, `line`, and `area` generators with `curveBasis` interpolation. The chart includes gridlines via tick marks and axis labels positioned within an SVG canvas.
AI-generated descriptionexample of Area chart