Skip to main content
100%

Scatter plot with menus

✓ Published0🌍 Public
JJoseph Popoola
Last edited Feb 14, 2020
Created on Feb 14, 2020
Forked from Cars Scatter Plot

This interactive scatter plot explores relationships between attributes of classic automobiles, drawing from the auto-mpg dataset. Two dropdown menus allow users to select which columns appear on the x- and y-axes, triggering a smooth animated transition of the points. Built with D3 v5, the example uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the axes, while the points are animated using `.transition().duration().delay()`. The chart is rendered as SVG, with a reusable dropdown module and a separate scatterplot module handling the visualization logic.

AI-generated description
MIT Licensed

Similar vizzes