Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
Ccynichole
Last edited Mar 3, 2022
Created on Mar 3, 2022

This interactive scatter plot visualizes the Iris flower dataset, plotting sepal and petal measurements against each other. Users select X and Y axes from dropdown menus, with points colored by species and a color legend identifying the three categories. The visualization uses D3 v5 scales and axes (scaleLinear, AxisBottom, AxisLeft) within a React framework, rendering SVG circles via the Marks component. Data is loaded asynchronously from a CSV file using d3.csv, with ordinal color encoding via d3.scaleOrdinal and react-dropdown handling user selections.

AI-generated description
MIT Licensed

Similar vizzes