Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
AAjayyy
Last edited May 21, 2020
Created on Feb 28, 2019

This interactive scatter plot explores the Auto MPG dataset from the UCI Machine Learning Repository, displaying car attributes like horsepower and weight. Users dynamically reassign axes via dropdown menus, triggering a two-second animated transition where circles grow and reposition using D3’s `transition()` and `delay()`. Built with D3 v5, the SVG visualization uses `scaleLinear`, `axisBottom`, and `axisLeft` for axes, with all numerical columns parsed from CSV. The example demonstrates reusable menu components and animated updates for exploring multivariate relationships.

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