Skip to main content
100%

Rahul area chart

✓ Published1🌍 Public
Ssairahulreddy.bapuram2001@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from Hello VizHub

This area chart depicts the average petal length for different flower species from a CSV file. The visualization uses a smooth, monotone curve to connect the average values, with the area beneath the line filled in a semi-transparent steel blue. The chart is rendered as an SVG using D3.js v7. The code calculates the per-species averages via `d3.rollup` and `d3.mean`, then maps the categorical species data to a band scale and the numeric averages to a linear scale. The area is generated using the `d3.area` API, while axes are added with `d3.axisBottom` and `d3.axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes