Skip to main content
100%

pie chart latha bemanadham

✓ Published0🌍 Public
Llathabemanadham@my.unt.edu
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Fork of pie chart

This pie chart visualizes the most occurred plant diseases from a CSV dataset, showing each disease’s share as a percentage label on its slice. It uses D3 v7 with `d3.csv` to load data, `d3.rollup` to count occurrences, and `d3.pie` with `d3.arc` to generate SVG paths. A color legend maps diseases using `d3.scaleOrdinal` and `d3.schemeSet2`, while slice labels are positioned via `arc.centroid`. The chart renders in an SVG canvas with a white background and fixed dimensions.

AI-generated description
MIT Licensed

Similar vizzes