Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
Jjesramyep1263
Last edited Apr 11, 2020
Created on Apr 11, 2020

This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, allowing users to explore relationships between numeric car attributes. Two dropdown menus let viewers select which columns map to the X and Y axes. The code uses d3.csv for data loading, d3.scaleLinear and d3.extent for scaling, and d3.axisBottom/axisLeft for axes. Circles render in SVG with a 2-second staggered transition using d3.transition().duration() and .delay(), redrawn dynamically as menu selections change.

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