Polished scatter plot with menus
✓ Published0🌍 Public
This example shows a scatter plot of Palmer penguin measurements, where users can interactively choose which numerical or categorical attributes to plot on the x- and y-axes via two dropdown menus. The visualization uses React with the `react-dropdown` component for the controls, while D3 v7 functions like `scaleLinear`, `extent`, and `csv` handle data loading, scaling, and axis generation. The plot is rendered as an SVG, with marks drawn as circles and a tooltip showing the x-axis value on hover.
AI-generated descriptionMIT Licensed