Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cancer Worldwide by Region

Public visualization

Viewing a saved revision (read-only)

b60a75cb2e3e4435a184fafd2ecc9db1

Cancer Worldwide by Region

0 stars1🌍 Public
AAsrar Al Qassem
Last edited Mar 23, 2024
Created on Mar 22, 2024

This pie chart displays the cancer mortality rate for top regions worldwide in 2019, with each slice representing a country’s liver cancer value. The visualization uses D3 v5’s `pie()` and `arc()` generators to create the chart, while `scaleOrdinal` with `schemePastel2` assigns colors to regions. Labels are positioned using an arc generator with a larger radius, and a legend is built from the pie data. The data is loaded via `csv()` from a WHO dataset hosted on GitHub, and the chart renders in an SVG container within a React framework.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.