Skip to main content
100%

ICE6_SharanyaSriram Scatterplot

✓ Published0🌍 Public
SSharanyaSriram
Last edited Mar 11, 2023
Created on Mar 11, 2023

This scatterplot visualizes penguin data, showing flipper length on the x-axis and body mass on the y-axis, with each point colored by species (red, blue, or black). The code uses D3 v5 with SVG rendering in a React framework, loading CSV data via `d3.csv`, scaling axes with `scaleLinear` and `extent`, and drawing circles with `selectAll` and `join`. Axis labels and a title are added using SVG text elements, with tick styling via CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes