Skip to main content
100%

Fork of Scatter Plot with Menus

✓ Published0🌍 Public
Ddanish-nix
Last edited Jul 10, 2021
Created on Jul 9, 2021

This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository. Users can dynamically select which data columns to map to the X and Y axes using dropdown menus. The visualization employs D3.js v5 with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to render axes and circles, with points appearing in an animated transition. The dropdown menus are constructed using a custom `dropdownMenu` function that binds `select` and `option` elements to column names. Data is loaded via `csv()` and parsed into numeric values for plotting.

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