Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Aavolisacado
Last edited Jun 23, 2019
Created on Jun 23, 2019

This interactive scatter plot explores the Auto MPG dataset from the UCI Machine Learning Repository. Dropdown menus let the user dynamically choose which car attributes map to the x-axis, y-axis, and color categories, using `dropdownMenu` to re-render the visualization. Built with D3 v5, the `scatterPlot` module animates circles to their new positions over a two-second transition, scaling axes with `d3.scaleLinear` and `d3.axisLeft`/`d3.axisBottom`, while a separate `colorLegend` displays the categorical color scale.

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