Skip to main content
100%

Question 1

✓ Published0🌍 Public
JJaiyaGhanta@my.unt.edu
Last edited Nov 5, 2024
Created on Nov 4, 2024

This pie chart visualizes the proportional distribution of values across different categories from a CSV file hosted on GitHub Gist. Each slice represents a category, with its size corresponding to the numeric value in the dataset. The visualization uses D3 v6 APIs `pie()` and `arc()` to compute slice geometry and generate SVG `path` elements, while `scaleOrdinal` with `schemeCategory10` assigns distinct colors. Labels are positioned at slice centroids using `arcGenerator.centroid()`, and the chart includes custom axis labels for "Categories" and "Proportion of Total" within a bordered SVG container.

AI-generated description
MIT Licensed

Similar vizzes