Skip to main content
100%

Task9_Question1

✓ Published1🌍 Public
Aanusharamana0@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from HTML Starter

This example displays a pie chart of the top 15 run-scorers in the 2022 IPL season, sourced from a CSV file hosted on GitHub. The visualization uses D3 v5 to load and parse the data, sort it by runs, and render the chart with SVG paths. It employs `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with `schemeCategory10` for coloring, adding a legend with rectangles and labels. Mouseover events log player names to the console.

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