Skip to main content
100%

Cancer Worldwide by Region

✓ Published1🌍 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.

MIT Licensed

Similar vizzes