Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive color legend

Public visualization

Interactive color legend

0 stars0🌍 Public
MmohitPassan
Last edited May 1, 2021
Created on May 1, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements. Users select X and Y axes via dropdown menus, and hover over the categorical color legend to highlight points of a particular Iris species while fading others. The visualization uses React with hooks for state management, d3.scaleLinear and d3.scaleOrdinal for scales, and renders SVG marks via React components. Data is loaded asynchronously with d3.csv.

AI-generated description

Scatter plot of iris dataset using d3 and keeps track using react

Comments

Sign in to join the discussion.

MIT Licensed