Skip to main content
100%

Fork of scatter plot

✓ Published1🌍 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
MIT Licensed

Similar vizzes