Skip to main content
100%

Pie chart - Activity 7

✓ Published1🌍 Public
Ssahithigovindaraju@my.unt.edu
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This pie chart displays the distribution of irrigation types from an agricultural dataset, with each slice labeled and color-coded by category. The visualization is built using D3.js v6, loading data from a remote CSV file. The code uses `d3.pie()` to compute arc segments, `d3.arc()` for rendering the slices, and `d3.rollup()` to aggregate the dataset by irrigation type. Each slice includes its type name and count, alongside a manually positioned legend with custom colors.

AI-generated description

This is a piechart of irrigation type distribution

MIT Licensed

Similar vizzes