🌍 Public
Viewing a saved revision (read-only)
5deeeaf5cb704e7b9156402968f4d554
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