Skip to main content
100%

Scatter Plot With Menus

✓ Published1🌍 Public
黃黃歆善
Last edited Sep 19, 2023
Created on Sep 18, 2023
Forked from Cars Scatter Plot

This interactive scatter plot lets users explore the relationship between any pair of numeric columns in the auto-mpg dataset by selecting variables from two dropdown menus. D3 v7 updates the axes and circles with a smooth transition when a new column is chosen. The visualization uses d3.scaleLinear, d3.axisLeft, and d3.axisBottom to render the SVG chart, with the dropdown menu implemented as a reusable function. Data loads asynchronously from a CSV file, and circles animate from the center to their positions.

AI-generated description
MIT Licensed

Similar vizzes