Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7

Public visualization

Viewing a saved revision (read-only)

d773e03fd7914a728d168380e3886287

Activity7

0 stars0🌍 Public
SSai Sandhya Nannapaneni
Last edited Nov 7, 2024
Created on Nov 7, 2024
Forked from Hello VizHub

This pie chart displays the top five NBA players by salary from the provided NBA dataset. Each slice is labeled with the player’s name and salary value, and a color-coded legend identifies the players. The visualization is built with D3 v5, using `d3.pie` and `d3.arc` to generate the slices and `d3.scaleOrdinal` for the color scheme. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, and the chart is rendered as SVG.

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.