Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

assignment

Public visualization

Viewing a saved revision (read-only)

24909aff959142a18c3811ca1ba557b7

assignment

0 stars0🌍 Public
HHarshithaAru06
Last edited Oct 24, 2025
Created on Oct 24, 2025

This scatterplot visualizes student performance, plotting study hours per week against final exam scores, with gender as a color-coded grouping variable. It uses the D3.js v7 library with a reusable `scatterPlot` function pattern, rendering SVG circles within a margin-based layout. The chart reads from `data.csv` and builds linear scales for both axes, applying ordinal color encoding via `d3.scaleOrdinal` with the Tableau color scheme.

AI-generated description