Skip to main content
100%

Scatter Plot with Color Legend - Lecture 34

✓ Published1🌍 Public
Rroc286
Last edited Mar 14, 2022
Created on Mar 13, 2022

This interactive scatter plot from Lecture 34 visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements. Dropdown menus let viewers select which quantitative attributes appear on the x and y axes, while a color legend distinguishes the three iris species using an ordinal color scale. Built with React and D3 v5, the SVG rendering uses d3.scaleLinear for axes, d3.scaleOrdinal for colors, and d3.extent for domain calculations, with custom React components for axes, marks, and legend rendering.

AI-generated description

A scatter plot with color legend of The Iris Dataset with Menus.

MIT Licensed

Similar vizzes