Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
Zzenoe
Last edited May 8, 2022
Created on Oct 7, 2021

This scatter plot displays automobile data from the auto-mpg dataset, with dropdown menus allowing users to select which columns to plot on the x and y axes. The visualization updates dynamically, showing relationships like horsepower versus weight with animated circle transitions. Built with D3 v5, the menus use the custom `dropDownMenu` component with select elements, while the scatter plot leverages `scaleLinear`, `axisBottom`, `axisLeft`, and `transition().duration()` for smooth updates. Data values are parsed as numbers before rendering with SVG circles.

AI-generated description
MIT Licensed

Similar vizzes