Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Llystran
Last edited Apr 26, 2020
Created on Apr 26, 2020

This scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, displaying cars' attributes as circles. Dropdown menus let users select which data columns map to the X and Y axes, dynamically updating the chart. The code uses D3 v5’s `scaleLinear`, `axisLeft`, `axisBottom`, and `dropdownMenu` custom component. Animated transitions, via `transition().duration(5000)`, move circles to new positions, while SVG renders the axes, labels, and semi-transparent red points.

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