🌍 Public
Viewing a saved revision (read-only)
41b3b6ed65c44a33ad426fee35d768b7
Task9_part2
This example displays a simple area chart showing the number of chairs produced each year from 2000 to 2005, with data hardcoded as an array of objects. The chart uses D3 v7 to create an SVG visualization, employing `d3.area()` to generate the filled path, `d3.scaleLinear` for both axes, and `d3.axisBottom` and `d3.axisLeft` to render the ticks. Axis labels for “Year” and “Chairs” are added directly to the axis groups, and the area is filled with a steelblue color.
AI-generated description