🌍 Public
Viewing a saved revision (read-only)
b60a75cb2e3e4435a184fafd2ecc9db1
Cancer Worldwide by Region
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.