Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Pie Chart For Milk production

Public visualization

Pie Chart For Milk production

0 stars0๐ŸŒ Public
PPriyaEnuganti
Last edited Jul 3, 2022
Created on Jun 30, 2022

This pie chart visualizes annual milk production across the world, with each slice representing a country and its production value labeled in millions. The chart is built using D3 v5 APIs including `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for color encoding. Section labels are positioned using the arc centroid, and a legend lists each country with its corresponding value. Data is loaded asynchronously from a raw CSV file hosted on GitHub.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed