Viewing a saved revision (read-only)
3d52c13e2163467d9f783338b3c21877
sunburst chart
This sunburst chart visualizes CO₂ emissions by country from the Global Data dataset, using a hierarchical radial layout with arcs representing regions (Eastern Asia, Northern America, Southern Asia) and their constituent countries. The chart employs D3’s `partition`, `hierarchy`, and `arc` APIs alongside `scaleOrdinal` with `schemeCategory10` and `schemePastel1` for color encoding. Hover tooltips, implemented via SVG `<title>` elements, display each country’s emission value. Rendering is performed with SVG, and the code is structured as a reusable `main` function that appends the chart and legend to a container.
AI-generated descriptionA simple scatter plot of Global Data dataset
This scatter plot visualizes the correlation between fertility and Population Growth. This scatter plot suggests that higher population growth can be seen in countries with high fertility rates!