Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

creating a polished scatter plot with menus using iris data

Public visualization

Viewing a saved revision (read-only)

73065e2e51384efe98d727f079e6b0b9

creating a polished scatter plot with menus using iris data

0 stars0🌍 Public
Vvidhyanamini
Last edited Mar 5, 2022
Created on Mar 4, 2022

This interactive scatter plot displays the classic Iris dataset, letting users explore relationships between sepal and petal measurements. Two dropdown menus allow switching the x-axis and y-axis variables, while the scatter points update dynamically. The visualization uses React with hooks for state management, D3 v5 scales and SVG rendering for circles and axes. Data loads from a CSV via d3.csv, with axes formatted using d3.format and annotated with rotated axis labels.

AI-generated description