Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart FOR MARkS

Public visualization

Viewing a saved revision (read-only)

9ee4bf5950c24428a190a159537a7053

Fork of ICE - 7 Pie Chart FOR MARkS

0 stars2🌍 Public
NNavaneeth-Ragi
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from Hello VizHub

This visualization presents student marks as a pie chart, with each slice colored and labeled by GPA, accompanied by a legend listing the corresponding time spent. Built with React and D3.js v5, the code uses `d3.csv` to load data from a GitHub gist, `d3.pie` and `d3.arc` to generate the chart geometry and centroids, and `d3.scaleOrdinal` to map GPA values to a fixed set of colors. The SVG output includes both path segments and overlaid text labels.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.