Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Eelevari123
Last edited May 21, 2019
Created on May 21, 2019

This interactive scatter plot visualizes the Auto MPG dataset from the UCI Machine Learning Repository, displaying relationships between various car attributes. Two dropdown menus allow users to select which columns map to the X and Y axes, dynamically updating the visualization. The code uses d3.csv for data loading, d3.scaleLinear for scaling, and d3.axisBottom and d3.axisLeft for axes. Each rendered circle fades in with a 2-second d3 transition animation, while the dropdown menu component is built as a reusable d3 selection pattern with event handling.

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