Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity-7

Public visualization

Viewing a saved revision (read-only)

2c67503980784d2184a98d2aed624404

activity-7

0 stars0🌍 Public
Ssathvik0311@gmail.com
Last edited Nov 6, 2024
Created on Nov 5, 2024

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 description

A demonstration of reusable scatter plot.