🌍 Public
Viewing a saved revision (read-only)
2c67503980784d2184a98d2aed624404
activity-7
A reusable area chart displays the top ten fruits by sales, ranked in descending order from a CSV dataset. The chart uses a smooth Catmull-Rom curve to render the area, with steelblue fill at 70% opacity. D3 v6 APIs such as `d3.csv`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.area` are used to handle data loading, scales, and the area generator, while axes and labels are added with `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionA demonstration of reusable scatter plot.