Skip to main content
100%

Task9&10 Q-1 Divya Anusha Chandrupatla

✓ Published1🌍 Public
Ddivyaanushachandrupatla@my.unt.edu
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from Task9&10_areachart

This D3.js visualization presents a pie chart of weather conditions from a rainfall dataset, showing the proportional distribution of each condition as a percentage. The chart uses `d3.pie`, `d3.arc`, and `d3.rollup` to aggregate and render the data, with a categorical color scale (`d3.scaleOrdinal` with `d3.schemeCategory10`) filling each slice. Labels display calculated percentages using `d3.sum` to compute totals. A legend to the right, built with `d3.selectAll` and appended elements, maps colors to condition names, while the SVG canvas provides the rendering surface.

AI-generated description
MIT Licensed

Similar vizzes