Skip to main content
100%

creating a polished scatter plot with menus using iris data

✓ Published0🌍 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
MIT Licensed

Similar vizzes