Skip to main content
100%

Fork of Scatter Plot with Menus

✓ Published0🌍 Public
LLiao-YuWei
Last edited Sep 24, 2022
Created on Sep 23, 2022

This interactive scatter plot explores relationships between attributes of cars from the UCI Machine Learning Repository’s Auto MPG dataset. Dropdown menus above the chart let the user select which columns map to the X and Y axes, triggering a re-render. The visualization uses D3 v5’s `csv` loader, `scaleLinear`, `axisLeft`, and `axisBottom` to draw axes and points as SVG circles. When axes change, circles animate from the center to their new positions over two seconds using `transition().duration(2000).delay()`.

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