Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Task3

Public visualization

Viewing a saved revision (read-only)

926a9cdb9e2f442bb0cd9fc1deb64a4e

Activity7_Task3

0 stars0🌍 Public
VVijay Sheru
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between body mass and flipper length for three penguin species (Adelie, Gentoo, Chinstrap), with each point colored by species using a sequential ordinal color scale. The visualization is built with d3.v7, loading data from a remote CSV file and rendering points as SVG circles. The code uses `d3.scaleLinear` for both axes, `d3.extent` to compute domains, and `d3.axisBottom` and `d3.axisLeft` for the labeled axes.

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.