Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-9 Q1

Public visualization

Viewing a saved revision (read-only)

84abf55ec7e74f999ecd7999be359c9f

Task-9 Q1

0 stars0🌍 Public
Mmoulidomar@hotmail.com
Last edited Apr 28, 2024
Created on Apr 25, 2024
Forked from Hello VizHub

This example visualizes the grade distribution from a CSV dataset as a pie chart. The pie chart displays the percentage of each grade category, with labels showing the grade name and its corresponding percentage. A legend on the right identifies each color-coded segment. The visualization uses d3.csv to load the data, d3.pie to compute the arc angles, and d3.arc to generate the SVG paths for each segment.

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.