Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Ssirmelpalot
Last edited Mar 3, 2020
Created on Mar 3, 2020

This interactive scatter plot displays automobile 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, which re-render the visualization’s axes and circles accordingly. Built with D3 v5, the code uses `scaleLinear`, `axisLeft`, `axisBottom`, and a custom `dropdownMenu` module. Points animate into position over two seconds with staggered delays, and the SVG rendering includes axis labels, tick marks, and semi-transparent red circles.

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