Skip to main content
100%

ICE - 6 Part - 2

✓ Published0🌍 Public
MMahitha-Moparthi
Last edited Mar 22, 2023
Created on Mar 22, 2023

This example displays a scatter plot of penguin measurements, using flipper length on the x-axis and body mass on the y-axis, with each point colored by species (Adelie, Gentoo, or Chinstrap). It also encodes bill length and bill depth as the ellipse radii (rx and ry) of each circle, creating an additional visual dimension. The visualization is built with D3 v5, using `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data and render axes. Data is loaded as CSV via `d3.csv` from a GitHub gist, and the SVG is rendered directly to the page with React-style declarative `join` for circles.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes