Scatter Plot with menues
✓ Published0🌍 Public
This interactive scatter plot displays the relationship between pairs of numeric variables from the auto-mpg dataset, with dropdown menus allowing users to select which columns are plotted on the x- and y-axes. The visualization uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, while the `dropdownMenu` function (built with D3’s `select` and `option` elements) handles menu interactions. Points appear with a staggered, animated transition (via `.transition().duration(1000).delay()`) as the axes update. The SVG rendering applies custom styling from the linked stylesheet, including semi-transparent red circles and large axis labels.
AI-generated descriptionMIT Licensed