Skip to main content
100%

Scatter Chart with Color Legend

✓ Published1🌍 Public
RRichardPearce60
Last edited Feb 24, 2022
Created on Feb 24, 2022

This interactive scatter chart visualizes the Iris dataset, showing relationships between sepal and petal measurements across three species. Users select which attributes appear on the x and y axes via ReactDropdown menus. The SVG rendering uses d3.scaleLinear for axes, d3.scaleOrdinal for species color coding, with a custom ColorLegend component displaying capitalized species names. Axes are generated through reusable AxisBottom and AxisLeft components that create tick marks and labels. Hover tooltips reveal formatted numeric values through SVG title elements.

AI-generated description
MIT Licensed

Similar vizzes