🌍 Public
Viewing a saved revision (read-only)
84abf55ec7e74f999ecd7999be359c9f
Task-9 Q1
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.