Skip to main content
100%

Activity6_PersonType

✓ Published0🌍 Public
MMonish Galla
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

A scatter plot visualizes the relationship between arm and leg length, colored by person type (old, adult, kid) using orange, steelblue, and green circles. The visualization loads CSV data from GitHub and renders SVG circles via d3.csv, d3.scaleLinear, axisLeft, and axisBottom. The code imports D3 v6 from UNPKG, parses numeric fields, and uses nested selections to bind person-type data to circle elements. The chart adapts to the window size, with axis labels for Height and Weight placed via SVG transforms.

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.
MIT Licensed

Similar vizzes