Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot with menus

Public visualization

Viewing a saved revision (read-only)

17a2e7ab477b4defad555ab835474b3d

Scatterplot with menus

0 stars0🌍 Public
PPiotr Paszek
Last edited Apr 28, 2021
Created on Apr 25, 2021
Forked from Cars Scatterplot

This interactive scatterplot lets users explore the relationship between car horsepower and weight from the auto-mpg dataset, with a dropdown menu to select which numerical column drives the x-axis values. The visualization uses D3 v6 to render SVG circles with semi-transparent red fills, scaling axes with d3.scaleLinear and extent. Axes are drawn using d3.axisBottom and d3.axisLeft, and the custom dropdownMenu module populates the select element with all data columns.

AI-generated description