Skip to main content
100%

Scatter plot with menus

✓ Published0🌍 Public
Pprincit
Last edited Mar 30, 2020
Created on Mar 30, 2020
Forked from Scatter plot

This interactive scatter plot displays relationships between pairs of attributes from the auto-mpg dataset, with dropdown menus letting users choose which columns to plot on the x and y axes. The visualization uses d3.scaleLinear for both axes, d3.axisLeft and d3.axisBottom for tick marks, and d3.transition to animate circles from the center to their positions over two seconds. Data is loaded via d3.csv, and the custom dropdownMenu module handles the menu selection logic. The SVG rendering includes grid lines via tickSize and axis labels that update dynamically with each selection.

AI-generated description
MIT Licensed

Similar vizzes