Skip to main content
100%

Scatter plot with Colors

✓ Published1🌍 Public
Kkragovic
Last edited Apr 2, 2021
Created on Apr 2, 2021

This interactive scatter plot visualizes the Iris flower dataset, letting users explore relationships between sepal and petal measurements. The visualization uses React dropdown menus to dynamically switch which numerical attributes are plotted on the x and y axes. Each of the 150 flowers is rendered as a colored circle, with species mapped to a categorical color scale (`d3.scaleOrdinal`) using orange, teal, and purple. The chart is built with React and D3 v6, using SVG circles for marks and custom axis components that employ `d3.scaleLinear` for positioning.

AI-generated description
MIT Licensed

Similar vizzes