Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot with menus

Public visualization

Viewing a saved revision (read-only)

f8114d0f9ccb44098754f8686a2eb8e6

Scatter plot with menus

1 star0🌍 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