Penguin Data set scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the relationship between flipper length and body mass for three penguin species, with each species distinguished by color. The code uses D3 v5 with SVG rendering in a React context, loading data from a CSV file hosted on GitHub. It employs `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the plot, positioning circles via `cx`, `cy`, and `fill` attributes. Axis labels and a title are added as SVG text elements, and the visualization fills the entire browser window by using `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed