Skip to main content
100%

Fork of Reusable D3 Scatter Plot

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

This fork of a reusable D3 scatter plot visualizes the relationship between hours studied and test scores for a small student dataset. It uses `d3.scaleLinear` for both axes, with a steelblue, semi-transparent circle for each data point. The chart is rendered as an SVG, created by a `createScatterPlot` function that clears any existing SVG for reuse. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`, and labels are added for both “Hours Studied” and “Test Score”. The code is written for D3 v3 and is licensed under the MIT license.

AI-generated description
MIT Licensed

Similar vizzes