Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Bbencestubnya
Last edited Sep 15, 2020
Created on Sep 14, 2020
Forked from Cars scatter Plot

This interactive scatter plot uses dropdown menus to let users select which variables from the auto-mpg dataset appear on the x- and y-axes. The visualization renders circles in SVG with d3.scaleLinear, d3.extent, and d3.axisBottom/axisLeft, while the custom dropdownMenu component triggers re-renders via onOptionClicked. Points animate from the center outward using transition().duration(2000), and axis labels update dynamically. The menus are built with plain HTML select elements, and the data is loaded via d3.csv.

AI-generated description
MIT Licensed

Similar vizzes