Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of scatter plot

Public visualization

Viewing a saved revision (read-only)

073f2adc251f46e0bda7e1a0f02971fd

Fork of scatter plot

0 stars1🌍 Public
Ssainishanthreddyk@gmail.com
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from scatter plot

This scatter plot visualizes the relationship between math and science scores for 93 students, with each dot colored by department. It uses D3.js v7 to load data from a CSV file, map scores to x/y coordinates with `d3.scaleLinear()`, and color-code points using `d3.scaleOrdinal()` with the `d3.schemeSet2` palette. The SVG rendering includes axes via `d3.axisBottom` and `d3.axisLeft`, plus a legend identifying the seven academic departments. Hovering reveals a tooltip with the student's name, department, and scores.

AI-generated description