Skip to main content
100%

AVN Scatter Plot

✓ Published0🌍 Public
Aavnreddy95
Last edited Jul 1, 2022
Created on Jul 1, 2022
Forked from HTML Starter

This animated scatter plot displays measurements from three penguin species—Adelie, Chinstrap, and Gentoo—with each species represented by a distinct color. Every 2.5 seconds, the x-axis variable cycles through body weight, bill depth, flipper length, and bill length, while the y-axis remains fixed on bill length, reshaping the point positions accordingly. Built with D3 v6, the visualization uses SVG circles, `scaleLinear` for axes, and `setInterval` to drive the transition. Data comes from a CSV file fetched via D3’s `csv` function, with a custom legend and axis labels rendered in white against a black background.

AI-generated description
MIT Licensed

Similar vizzes