Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
TTrustPaul
Last edited Dec 7, 2020
Created on Dec 7, 2020

This interactive scatter plot explores the Auto MPG dataset from the UCI Machine Learning Repository, displaying car attributes as circles positioned by two user-selectable axes. Dropdown menus let the user choose which data columns map to the X and Y coordinates, triggering a re-render of the visualization. Built with D3 v5, the implementation uses d3.scaleLinear for axis scaling, d3.axisLeft and d3.axisBottom for gridlines, and d3.transition to animate points when data changes. SVG output renders red semi-transparent circles with labeled axes.

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