Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
AAnthony Winstanley
Last edited Jun 6, 2019
Created on Jun 6, 2019

This scatter plot visualizes movie data from the UCI Machine Learning Repository’s Auto MPG Data Set, displaying points on SVG axes where users select X and Y columns via dropdown menus. The d3.v5 code uses `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` for scaling and axes, while `transition().duration(2000)` animates circles from the center to their positions. The `dropdownMenu` module handles menu interactions, re-rendering the chart with `d3.csv` loaded data.

AI-generated description

This scatter plot shows data about cars from Canada, 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