Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
MMichał Szumnarski
Last edited Aug 19, 2019
Created on Aug 8, 2019
Forked from Cars Scatter Plot

This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset. Users can interact with a dropdown menu to select different data columns, though the menu's callback is empty, so selection does not change the plot. The visualization uses D3 v5's `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` APIs to render an SVG chart with red translucent circles. A custom `dropdownMenu` module creates the HTML select element. The chart includes labeled axes and a title.

AI-generated description
MIT Licensed

Similar vizzes