Skip to main content
100%

PIE CHART pca

✓ Published0🌍 Public
CChaturyaAkhilaPallem@my.unt.edu
Last edited Mar 26, 2024
Created on Mar 25, 2024
Forked from AREA PLOT pca

This example shows the distribution of BMI values from a loaded CSV dataset, categorizing individuals into underweight, normal weight, overweight, and obese groups as a pie chart. It uses D3 v7 to fetch and parse the CSV, compute category counts and percentages, and render the chart as SVG with a color scale and legend. The chart includes an interactive tooltip and highlights the proportion of each category, with the pie arc drawn using `d3.arc` and data bound through `d3.pie`.

AI-generated description
MIT Licensed

Similar vizzes