Activity 6_Question 3
✓ Published0🌍 Public
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 descriptionMIT Licensed