Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pie chart latha bemanadham

Public visualization

pie chart latha bemanadham

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed