Skip to main content
100%

Reusable Scatter Plot for ICE-7

✓ Published0🌍 Public
NNagasharan Sai Nandyala
Last edited Apr 1, 2025
Created on Mar 30, 2025
Forked from barplot

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
MIT Licensed

Similar vizzes