Skip to main content
100%

Fork of Fork of piechart ic7

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 12, 2023
Created on Mar 12, 2023

This visualization displays the cost of different master’s degree majors as a pie chart, with each slice representing a course’s total cost. A legend on the right pairs each colored slice with the course name and its cost in thousands. The chart uses D3 v5’s `pie` and `arc` generators to compute angles and render SVG paths, with `scaleOrdinal` assigning colors to slices. Data is loaded asynchronously from a CSV file via `d3.csv`, and the legend values are formatted using `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes