Skip to main content
100%

ICE-6

✓ Published0🌍 Public
117761A04F1
Last edited Mar 7, 2023
Created on Mar 6, 2023

This example visualizes Palmer Penguins data as a scatter plot, mapping flipper length to the x-axis and body mass to the y-axis, with circles colored by species (Adelie, Gentoo, and Chinstrap). It shows how d3.csv loads and parses the data, d3.scaleLinear and d3.extent set the scales, and d3.axisLeft and d3.axisBottom add labeled axes. The SVG rendering positions circles via d3.selectAll and .join, while CSS styles the tick text.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes