Skip to main content
100%

ICE 6: Scatterplot

✓ Published0🌍 Public
Ssreesushmav
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from D3 Starter

This scatterplot visualizes penguin measurements from a CSV dataset, plotting flipper length against body mass while coloring each point by species (yellow, green, or red). The code uses d3.csv to load and parse the data, then d3.scaleLinear and d3.extent to map values to screen coordinates, with d3.axisLeft and d3.axisBottom for labeled axes. Circles are rendered via SVG selections and data joins, with custom attributes for culmen dimensions. The chart also includes axis labels and a title, all styled with cursive fonts.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes