🌍 Public
Viewing a saved revision (read-only)
d9d7e57c69b545b2bbd7613b31c867db
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