Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Penguin Scatter Plot with Menus

Public visualization

Penguin Scatter Plot with Menus

0 stars0🌍 Public
PPrashish Paudel
Last edited Apr 1, 2021
Created on Apr 1, 2021

This interactive scatter plot visualizes the Palmer Penguins dataset, allowing users to switch both the x- and y-axis attributes between bill length, bill depth, flipper length, body mass, species, and sex. Built with React and D3 v5, it renders the plot as SVG circles with tooltips, axes, and dropdown menus for dynamic attribute selection. The code uses `scaleLinear`, `extent`, and `format` from D3, with React hooks like `useState` and `useEffect` to manage state and load the CSV data via `d3.csv`.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed