Skip to main content
100%

Scatter plot with menus

✓ Published0🌍 Public
Zz99876664@gmail.com
Last edited Sep 7, 2024
Created on Sep 7, 2024
Forked from Cars Scatter Plot

This scatter plot of the auto-mpg dataset shows relationships between vehicle attributes, with a dropdown menu controlling the x-axis variable while the y-axis displays weight. Built with D3 v5, the visualization uses `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to render axes and points as SVG circles. The menu is implemented via the `dropDownMenu` module, which updates the chart on selection change. The data is loaded through `csv` from a Plotly-hosted dataset, with numeric columns parsed before rendering.

AI-generated description
MIT Licensed

Similar vizzes