Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
SSUSHMA CHIRRA
Last edited Mar 23, 2023
Created on Mar 23, 2023

This scatter plot visualizes the relationship between body mass and flipper length for three penguin species, with data from a kangaroo CSV file. Using D3 v6 within a React framework, the SVG chart maps each point’s color to its species via a switch statement, while x and y axes are generated with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. Circles are positioned using `cx` and `cy` attributes, with additional `rx` and `ry` properties set but not visually altering the radius.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes