Skip to main content
100%

Fork of Scatter Plot with Menus

✓ Published0🌍 Public
Jjt23346059@gmail.com
Last edited Sep 12, 2024
Created on Sep 12, 2024

This interactive scatter plot visualizes data from the Auto MPG data set, with dropdown menus allowing users to select which car attributes map to the X and Y axes. The visualization uses D3.js (v5) to render an SVG with animated circle transitions and axis updates when menu selections change. The dropdown menus are constructed using a reusable `dropdownMenu` function built on D3's selection API, while the scatter plot itself is created with the `scatterPlot` module using `scaleLinear` for scaling, `axisLeft` and `axisBottom` for axes, and `transition` for animated point movement.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set. The user can select which columns map to X and Y using dropdown menus.

MIT Licensed

Similar vizzes