Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Aalexandermodell
Last edited Mar 2, 2022
Created on Mar 2, 2022

This interactive visualization explores the Iris dataset, showing how the relationship between two selected attributes (such as petal length and sepal width) varies across species. Color distinguishes species, with a legend that highlights one species at a time while fading others on hover. Built with React and D3.js v7, it uses `scaleOrdinal` for coloring and `scaleLinear` for both axes, rendering circular marks as SVG. The code also utilizes D3’s `csv` parser for data loading and `format` for axis label abbreviations.

AI-generated description

A scatterplot of The Iris Dataset.

MIT Licensed

Similar vizzes