🌍 Public
Viewing a saved revision (read-only)
f954fa06228f46adb04bdffed5f4008f
Piechart - 11632790
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 descriptionThis is a Pie chart