Viewing a saved revision (read-only)
8873d988c2874b6bbd7d4160a9523a62
Fork of Task8
This pie chart displays the breakdown of CO2-equivalent emissions by gas type using data from the Our World in Data CO2 dataset. The visualization uses D3.js v7 with the `d3.pie()` layout to generate arc segments and `d3.rollup()` to aggregate emission sums per gas category. Each slice is rendered as an SVG path via the `d3.arc()` generator, with a categorical color scale (`d3.scaleOrdinal` and `d3.schemeSet3`) distinguishing gas types, and text labels positioned using `arcGenerator.centroid()`. A legend is appended to identify each gas category.
AI-generated descriptionA blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.
https://vizhub.com/drbagwell/cfc6aaba08b54a598475e867bcc8fa21