Skip to main content
100%

Activity_6_Q3

✓ Published0🌍 Public
Mmudunurirahulvarma98@gmail.com
Last edited Apr 5, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example shows a scatter plot of penguin bill length versus bill depth, with each point colored by species. It loads a CSV dataset from a GitHub raw URL and uses D3 v7 to render an SVG. The code employs `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, `d3.axisLeft`, and data joins via `selectAll().data().enter()` to create circles, axes, labels, and a legend.

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