Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
PPotikorn
Last edited Feb 27, 2020
Created on Feb 20, 2020
Forked from Cars Scatter Plot

This interactive scatter plot lets users compare pairs of attributes from the auto-mpg dataset by selecting columns from two dropdown menus. The visualization updates the x and y axes, including their labels and scales, based on the chosen variables. Built with D3 v5, the code uses `scaleLinear`, `axisBottom`, and `axisLeft` to construct the chart, while a custom dropdown menu module handles the selection. Each data point is rendered as a semi-transparent circle with a smooth transition animation as the axes change, providing a dynamic exploration of the relationships between variables like horsepower, weight, and acceleration.

AI-generated description
MIT Licensed

Similar vizzes