Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity9Ques-1

Public visualization

Viewing a saved revision (read-only)

7dd6fd2f65a240d49ef8677de73ac581

Activity9Ques-1

0 stars0🌍 Public
Ssirichandana017@gmail.com
Last edited Apr 18, 2024
Created on Apr 18, 2024

This pie chart visualizes tennis players' ratings, displaying each player's name and their total overall rating as slices. The chart uses D3 v5 (d3.pie, d3.arc, d3.scaleOrdinal) to generate the pie geometry, color the slices, and position labels at each slice's centroid. The data is fetched as CSV from a GitHub gist. Hovering over a slice reveals a tooltip with the player's name, average score, and total rating, while a legend on the left lists all players and their ratings. The chart is rendered as SVG with custom styling.

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.