Skip to main content
100%

ICE 7 Pie Chart

✓ Published0🌍 Public
BBVNPK001
Last edited Mar 28, 2022
Created on Mar 28, 2022

This pie chart visualizes the distribution of student marks, displaying each student's name and their corresponding percentage share of the total. The visualization fetches its data from a CSV file hosted on GitHub and renders the chart as an SVG using D3 v5. The code employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the pie segments and color them, with labels and a legend showing the percentage values and names. The chart is built using the `select` and `append` API to construct the SVG elements.

AI-generated description
MIT Licensed

Similar vizzes