🌍 Public
Viewing a saved revision (read-only)
5e6779a702df45099e3f4b4eb0489f62
Question2_Task9
This area chart visualizes Hyundai vehicle sales over time, using a smoothed curve to show the upward trend in sales figures. The chart uses D3 v7 with SVG rendering, drawing a sky-blue area path generated by `d3.area()` with `curveBasis`. Axes are created via `d3.axisBottom` and `d3.axisLeft`, with grid lines extending across the plot. The data comes from a CSV file loaded with `d3.csv`, parsing dates via `d3.timeParse` and scaling time with `d3.scaleTime` and linear scales for sales values.
AI-generated descriptionArea Charts