Task9_part2
✓ Published0🌍 Public
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 descriptionMIT Licensed