Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3(q)

Public visualization

Viewing a saved revision (read-only)

1ab33f885bef4dd0badddb3a1cf2c1e8

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

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.