Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Aaalejandroq
Last edited Jun 7, 2019
Created on Jun 7, 2019

This interactive scatter plot visualizes the Auto MPG car dataset, allowing users to choose which columns map to the x- and y-axes via dropdown menus. The chart uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and render axes, while a custom `scatterPlot` component animates circles with staggered transitions. Users select columns from dropdowns, triggering re-renders that update both the axes and the data points. The metadata comes from the UCI Machine Learning Repository, and the example is built with D3 v5 and rendered as SVG.

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