Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7-Pie Chart

Public visualization

ICE7-Pie Chart

0 stars0🌍 Public
AAsherpranayp
Last edited Mar 24, 2023
Created on Mar 24, 2023
Forked from ICE7-Pie Chart

This pie chart visualizes the maximum runs scored by cricketers, displaying each player's total as a labeled segment with a legend. The chart uses D3.js (d3.v5) to load CSV data via `d3.csv`, compute arc layouts with the `pie` and `arc` functions, and render SVG paths and text. Colors are assigned with `scaleOrdinal`, and values are formatted using `format`. The dataset is fetched from a remote gist URL, and the visualization includes player names and run totals in the legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed