Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
Llubin-liu
Last edited Dec 7, 2020
Created on Dec 6, 2020

This scatter plot displays car data from the UCI Machine Learning Repository’s Auto MPG dataset, with dropdown menus letting viewers assign any data column to the X or Y axes. The visualization uses d3.csv for loading, d3.scaleLinear, d3.extent, and d3.axisBottom/axisLeft for scales and axes, while d3.transition animates circles over two seconds when columns change. The code builds menus from data.columns and updates the SVG scatter plot dynamically.

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