Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot with colour

Public visualization

Viewing a saved revision (read-only)

e5cf8f440b444517b13a266719530774

Scatter plot with colour

0 stars0🌍 Public
Jjackcaldwellnichols
Last edited Nov 13, 2023
Created on Nov 13, 2023

This interactive scatterplot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements across flower species. Two dropdown menus dynamically select which numeric attributes appear on the x and y axes, with the chart updating through React state management. The visualization uses d3.scaleLinear for both axes, d3.extent for domain calculation, and renders SVG circles through a reusable Bars component. Data loads asynchronously via d3.csv from a remote gist, with axis ticks styled through CSS classes and formatted using d3.format.

AI-generated description

Scatterplot of Iris data