Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
Ssourcebox-bug
Last edited Apr 17, 2019
Created on Apr 17, 2019

This interactive scatter plot explores car data from the UCI Machine Learning Repository’s Auto MPG dataset. Users select which columns to plot on the X and Y axes via dropdown menus that update the chart dynamically. The visualization uses D3 v5 with SVG rendering, including `d3.csv` for data loading, `d3.scaleLinear` and `d3.extent` for scales, and `d3.axisBottom`/`d3.axisLeft` for axes. Each point’s position animates over two seconds via `transition().duration(2000)`, with a delay per circle, creating a smooth reapportionment when variables 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