🌍 Public
Viewing a saved revision (read-only)
1ab74e915be6467b9b21174704dab97a
Cars Scatter Plot with menus
This visualization displays the relationship between horsepower and weight for a dataset of cars, with each car represented as a circle. A dropdown menu above the chart lists all data columns, but the code only logs the selected option to the console; it does not change the chart axes. The scatter plot is rendered using D3 v5 with SVG, using the `scaleLinear`, `axisBottom`, and `axisLeft` APIs to construct axes and `csv` to load the auto-mpg dataset from a remote URL. A reusable `dropDownMenu` module handles the menu creation with D3 data joins.
AI-generated description