🌍 Public
Viewing a saved revision (read-only)
506fc6e510f140499d1d4596ac428aae
Interactive Color Legend
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 descriptionA scatterplot of The Iris Dataset.