Polished Scatter Plot with Menus
✓ Published0🌍 Public
This example shows an interactive scatter plot of the Iris dataset, with dropdown menus allowing the user to select which attributes appear on the x and y axes. The visualization uses React for component management and state, while D3 v5 provides scales and the CSV data loading via `d3.csv`. Points are rendered as SVG circles with tooltips, and axis ticks are generated using `xScale.ticks()` and `yScale.ticks()`. The layout uses fixed dimensions and margins, with axis labels updating dynamically based on the selected attributes.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed