Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Question 3

Public visualization

Activity 6 Question 3

0 stars0🌍 Public
SSai Gottumukkala
Last edited Apr 3, 2025
Created on Apr 3, 2025

This scatter plot visualizes the relationship between Physics and History scores for individual students, with each circle's color encoding the student's sex (steelblue for male, deeppink for female). The data is loaded from a remote CSV file using the D3.js v7 library and rendered as SVG elements. The code uses `d3.csv` to fetch and parse the data, `d3.scaleLinear` for both axes, and `d3.scaleOrdinal` for the categorical color mapping, with axes generated via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed