Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
Ttharuta
Last edited Aug 7, 2021
Created on Aug 7, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements across three flower species. Two dropdown menus let viewers select which attributes appear on the x and y axes, while a color legend distinguishes species using d3.scaleOrdinal. The visualization uses React to manage state and render SVG elements, with D3 scales (d3.scaleLinear, d3.extent) handling coordinate mappings and axes. Data loads asynchronously via d3.csv from a remote source.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes