Skip to main content
100%

Fork of Fork of D3 Starter

✓ Published0🌍 Public
Ccsesomarajuaswini@gmail.com
Last edited Mar 28, 2026
Created on Mar 28, 2026
Forked from Fork of D3 Starter

This example shows a reusable scatter plot that maps student Age against Marks, with axes and labels generated from a CSV file. The code defines a `drawScatter` function that uses `d3.scaleLinear` to set domains and ranges, then renders circles with `d3.selectAll` and appends axis groups via `d3.axisBottom` and `d3.axisLeft`. Data is loaded asynchronously from a GitHub-hosted CSV using `d3.csv`, and the SVG output is cleared and redrawn on each call.

AI-generated description
MIT Licensed

Similar vizzes