Skip to main content
100%

Scatter Plot with Color Legends

✓ Published1🌍 Public
Tthomasjungcoe
Last edited Mar 18, 2021
Created on Mar 18, 2021

This interactive scatter plot displays the Iris Dataset, allowing users to explore relationships between sepal and petal measurements across three flower species. Two dropdown menus let viewers select which quantitative attributes appear on the x- and y-axes, while a color legend distinguishes species using a d3.scaleOrdinal with categorical colors. The visualization is built with React, rendering SVG circles through the Marks component, with d3.scaleLinear scales mapping data to positions on axes generated by custom AxisBottom and AxisLeft components. Data is loaded asynchronously from a CSV file using d3.csv.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes