Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

d89651227b774bd58974a0b1fa2dbe97

Scatter Plot with Menus

0 stars1🌍 Public
CChristian Potdevin
Last edited Apr 11, 2021
Created on Apr 10, 2021

This interactive scatter plot visualizes the Iris flower dataset, allowing users to select which numeric attributes to plot on the X and Y axes via two dropdown menus. React state manages the selected attributes and triggers re-rendering of the SVG chart, while D3 (d3.scaleLinear, d3.extent) handles scaling and data loading from the CSV file. The chart includes labeled axes with tick marks and circles with tooltips for each data point.

AI-generated description

A program that loads in some data using D3 utilities, and uses React state to keep track of the data.