Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Bbharathavulapati@gmail.com
Last edited Apr 1, 2025
Created on Apr 1, 2025

This fork of a reusable D3 scatter plot displays individual student math scores against science scores from a CSV dataset, with each circle representing one student. The code builds the chart using D3 v6 APIs including `d3.csv`, `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom`, rendered as SVG within a full-window container. A custom `scatterPlot` generator function uses getter-setter methods to configure width, height, data, margins, and circle radius, while the axes and labels are added inside the chart’s rendering loop.

AI-generated description
MIT Licensed

Similar vizzes