Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Aabcz1234
Last edited Jan 3, 2020
Created on Jan 3, 2020

This interactive scatter plot lets users explore relationships between variables in an auto-mpg dataset by selecting which columns appear on each axis via dropdown menus. The visualization uses D3 v5’s `select`, `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `transition().duration().delay()` to animate circles from the plot’s center to their new positions whenever a menu selection changes. The scatterPlot module builds SVG axes with tick lines and labeled text, while the dropdownMenu module generates the HTML select elements.

AI-generated description
MIT Licensed

Similar vizzes