Polished Scatter plot with Menus
✓ Published0🌍 Public
This example visualizes the Iris dataset as an interactive scatter plot, letting users choose which flower measurements appear on the x- and y-axes through dropdown menus built with React and react-dropdown. The plot renders points as SVG circles, with axes generated using custom React components that call d3.scaleLinear for scaling and d3.extent for domain computation. Data loading is handled by d3.csv, which parses numeric columns for the four measurement attributes. The visualization supports tooltips on hover and uses D3’s format function to display compact axis tick labels like “1.5B”.
AI-generated descriptionA scatter plot of The Iris dataset
MIT Licensed