Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with menus

Public visualization

Scatter Plot with menus

0 stars0🌍 Public
LLongYuu
Last edited Nov 28, 2020
Created on Nov 28, 2020
Forked from Cars Scatter Plot

This scatter plot visualizes the Auto MPG dataset, showing relationships between car attributes like horsepower, weight, and acceleration. Two dropdown menus let users select which columns map to the x- and y-axes, with circles animating smoothly to their new positions via `transition().duration(1000).delay()`. The visualization is built with D3 v5, using `scaleLinear` and `extent` for scaling, `axisBottom` and `axisLeft` for axes, and custom reusable functions `dropdownMenu` and `scatterPlot` for modularity.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set

Comments

Sign in to join the discussion.

MIT Licensed