🌍 Public
Viewing a saved revision (read-only)
c553712ba3ea4c59912d1275f78d0fc4
Reusable Scatter Plot for ICE-7
A reusable scatter plot displays three numeric attributes—weight, height, and price—from a CSV dataset, letting users switch axes via dropdown menus. Built with D3 v6, it uses `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` to render SVG axes, while `d3.selectAll('circle')` binds data points as steelblue circles. The chart updates by removing and reappending axes and circles on dropdown changes.
AI-generated description