Skip to main content
100%

Polished scatter plot with menus

✓ Published0🌍 Public
Rrvdv
Last edited Jan 3, 2022
Created on Jan 2, 2022

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 description
MIT Licensed

Similar vizzes