Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Activity 7-Scatter-plot

Public visualization

Viewing a saved revision (read-only)

67f6ed3575bb4237868909f5a394f286

Fork of Fork of Activity 7-Scatter-plot

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

This fork of a scatter plot example transforms the classic visualization into a reusable area chart that displays the distribution of penguin culmen lengths across three species—Adelie, Gentoo, and Chinstrap. Using the D3.js libraries `bin`, `area`, and `curveBasis`, it groups the data into bins and renders smoothed density-like curves for each species, colored via `scaleOrdinal`. The chart reads from an external CSV dataset, includes axes and labels, and is rendered as SVG, leveraging D3's `select`, `scaleLinear`, and axis APIs for the final interactive display.

AI-generated description

A demonstration of reusable scatter plot.