Activity6_Question6
✓ Published0🌍 Public
This visualization shows the relationship between student study hours and exam performance, with gender distinguishing the data points. Male students appear as green star shapes while female students appear as red circles. The code uses D3 v6 to load a CSV from GitHub, parse the data, and render the scatter plot as an SVG. It employs D3's `scaleLinear`, `axisLeft`, `axisBottom`, `csv`, and `extent` functions for scaling, axes, and data handling, with a legend clarifying the shape-color mapping.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed