Pie chart - Activity 7
✓ Published1🌍 Public
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 descriptionThis is a piechart of irrigation type distribution
MIT Licensed