Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie Chart

Public visualization

ICE - 7 Pie Chart

0 stars0🌍 Public
SSatyaVineeth
Last edited Jul 2, 2022
Created on Jul 2, 2022

This pie chart displays the top five countries in the ICC World Test Championship, showing each country’s win percentage as a colored slice with the percentage labeled directly on each segment. A legend on the right pairs each country with its corresponding value and color. The visualization uses D3 v5’s `pie` and `arc` generators to compute and render the SVG paths, with `scaleOrdinal` assigning the five section colors. Data is loaded asynchronously from a CSV file via `d3.csv`, and text formatting uses D3’s `format` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed