🌍 Public
Viewing a saved revision (read-only)
cd159e4db7054b17950d74d1dcbddb2d
Activity 6_Question 3
A scatter plot displays student Physics scores against History scores, with each point colored by the student’s sex (female in pink, male in blue). The visualization uses D3 v7’s scaleLinear for axes, scaleOrdinal for color mapping, and d3.csv to load remote CSV data. Circles are rendered as SVG elements, with axes, a title, and a custom legend added via D3 selections. The chart highlights correlations between the two subjects while comparing distributions by gender.
AI-generated description