Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

sunburst chart

Public visualization

Viewing a saved revision (read-only)

84fb637545e644f683f34c96801bd12c

sunburst chart

0 stars0🌍 Public
Nnitinramagiri1@gmail.com
Last edited Nov 1, 2024
Created on Nov 1, 2024

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 description

A 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!

MIT Licensed