Skip to main content
100%

Activity SDV Pie Chart

✓ Published0🌍 Public
Ggolisanthoshi2000@gmail.com
Last edited Nov 7, 2024
Created on Nov 7, 2024

This pie chart visualizes the distribution of total runs scored by each batting team from an IPL deliveries dataset. The chart aggregates data using `d3.rollup` and `d3.sum`, then renders slices with `d3.arc` and `d3.pie`, using `d3.schemeCategory10` for color encoding. Each slice is labeled with its team name, and the example demonstrates loading D3 via UNPKG alongside local ES6 modules, with both a standalone script and a reusable `piePlot` function that includes a legend.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes