🌍 Public
Viewing a saved revision (read-only)
7bd7f2d4baef4e80bc9af82adb6342ee
Fork of Scatter Plot with Menus
This example shows a scatter plot of the Iris Dataset, where dropdown menus let users independently select which measured attribute to display on the x- and y-axes. The visualization is built with React 16.9 and D3 v5, using d3.scaleLinear for axis scaling and d3.extent to compute domains. The React components AxisBottom, AxisLeft, and Marks render SVG elements, while the react-dropdown package provides the menu interface. Data loads asynchronously via d3.csv from a GitHub gist, and the plot includes axis labels, tick marks, and a title tooltip on each point.
AI-generated descriptionA scatter plot of The Iris Dataset.