Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question6

Public visualization

Viewing a saved revision (read-only)

5433e394a6534f32bdf3268cd031eb3c

Activity6_Question6

0 stars0🌍 Public
Kkartheekgrpt@gmail.com
Last edited Oct 22, 2024
Created on Oct 21, 2024
Forked from Activity6_Task3

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.