Skip to main content
100%

Assignment-3-Siri Gayatri

✓ Published1🌍 Public
Ssirigayatri16@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Hello VizHub

This interactive D3.js pie chart visualizes Delhi temperature trends from a 120-day sample by categorizing daily mean temperatures into cold, mild, warm, and hot ranges. The visualization aggregates the data using `d3.rollup` to count occurrences per temperature category, then renders each slice with `d3.pie()`, `d3.arc()`, and `d3.scaleOrdinal(d3.schemeCategory10)` for coloring. A custom legend with color squares and day counts complements the SVG chart, which is centered at coordinates (200,200) with a 180-pixel radius. The data source is fetched from a public GitHub gist containing raw weather measurements.

AI-generated description
MIT Licensed

Similar vizzes