Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3(q)

Public visualization

Viewing a saved revision (read-only)

a55b89cdd98e4ea3bf0a8b5396191d53

Activity6_Task3(q)

0 stars0🌍 Public
Aaravapalliharika2002@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the relationship between flipper length and body mass for three penguin species, with each dot colored by species. The visualization uses D3.js to load CSV data from a GitHub repository, filter out records with missing values, and render the plot as SVG circles. Axes are scaled linearly using `d3.scaleLinear()` with domain extents computed via `d3.extent()`, while species colors are assigned through a categorical `d3.scaleOrdinal()` range. The chart includes labeled axes and a title, with points positioned via the `svg.selectAll('.dot')` pattern.

AI-generated description