Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

7617e7a8800f47e0b1b0c4c6f38d9308

Fork of Reusable D3 Scatter Plot

0 stars0🌍 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