🌍 Public
Viewing a saved revision (read-only)
7dd6fd2f65a240d49ef8677de73ac581
Activity9Ques-1
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.