🌍 Public
task9-2
This area chart visualizes Hyundai sales data over time, with time on the x-axis and sales figures on the y-axis. The chart uses D3 v7’s `area()` generator with a `curveBasis` interpolation to create a smooth filled region, rendered as an SVG path with a skyblue fill. Axes are drawn using `axisBottom` and `axisLeft`, with gridlines via tick sizes. Data is loaded from a remote CSV using `csv()`, parsed with `timeParse`, and scaled using `scaleTime` and `scaleLinear`.
AI-generated descriptionArea Charts
MIT Licensed
Comments
Sign in to join the discussion.