Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Piechart - 11632790

Public visualization

Viewing a saved revision (read-only)

1df967789f554105a2b968e9cad14c27

Piechart - 11632790

0 stars1🌍 Public
Kkrunalpatel@my.unt.edu
Last edited Apr 29, 2024
Created on Apr 29, 2024

This pie chart displays the top ten Indian locations by recorded temperature in degrees Celsius, with each slice labeled by location name and value. The visualization fetches CSV data from a GitHub gist and sorts it before selecting the ten warmest entries. Using D3 v5, the code employs `d3.pie` and `d3.arc` to generate the SVG paths, `d3.scaleOrdinal` for slice colors, and a legend positioned to the right. Text labels are placed at arc centroids, with all output rendered as static SVG elements.

AI-generated description

This is a Pie chart