Skip to main content
100%

ICE-6

✓ Published0🌍 Public
Mmboinapally17
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from Hello VizHub

This example visualizes penguin body measurements from a Gist-hosted CSV file, plotting flipper length against body mass as colored circles for three species. The SVG scatter plot uses D3 v7’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data to screen positions, with circle radii fixed at 5 pixels. Each point is colored by species via a custom marker function, while culmen length and depth are stored as extra attributes but not visually encoded. The chart includes axes, rotated y-axis label, and a title, all rendered using D3 selections and SVG elements.

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