🌍 Public
Viewing a saved revision (read-only)
8dc6d7b20a9a410a8050e8b30b77ab65
Assignment Q1
A reusable scatter plot compares math and reading scores, with each student’s gender indicated by color. The visualization uses D3 v7’s `d3.csv` and `d3.autoType` to load the data, `scaleLinear` for axes, and `scaleOrdinal` for color mapping. Hovering reveals a tooltip with gender and scores, while an adjacent legend clarifies the encoding. The plot is rendered as SVG circles with `mouseover` and `mouseout` event handlers, demonstrating a modular chart-building pattern common in D3 examples.
AI-generated description