Assignment-3-Siri Gayatri
✓ Published1🌍 Public
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 descriptionMIT Licensed