Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Coloured ScatterPlot Menu

Public visualization

Viewing a saved revision (read-only)

29bdef5769b04f0095ac0a733d474e73

Coloured ScatterPlot Menu

0 stars2🌍 Public
PPadoSensei
Last edited Mar 29, 2021
Created on Mar 26, 2021

This interactive scatterplot displays the classic Iris flower dataset, allowing users to select which measurements appear on the X and Y axes via dropdown menus. The visualization is rendered as an SVG using D3 v6 within a React framework, with marks colored by species and an interactive color legend that fades unrelated points on hover. The code utilizes D3 scales like `scaleLinear` and `scaleOrdinal` to map data to positions and colors, with `csv` loading from a GitHub gist.

AI-generated description

Refactored Scatterplot with Menu in React. Now using Colour And now adding Colour Legend Now adding Legend Interactivity