Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity9Ques-1

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed