Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Question1

Public visualization

Viewing a saved revision (read-only)

e0a2eb6ca3b441c7909e5a7e49c04fa8

Activity7_Question1

0 stars0🌍 Public
Ssunny.musku2631@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Task9_Question1

A pie chart visualizes the number of matches played by the top 15 IPL cricketers, sorted by their runs. The visualization uses D3 v5 to render SVG paths and legend items, with colors assigned via `d3.scaleOrdinal` and `d3.schemeCategory10`. Data is loaded from a CSV file hosted on GitHub, then sorted and sliced for display. The chart includes interactive mouseover logging, and the legend displays player names alongside their match counts.

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.