Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cancer Survival Rates

Public visualization

Cancer Survival Rates

0 stars2🌍 Public
AAsrar Al Qassem
Last edited Mar 26, 2024
Created on Mar 22, 2024

This visualization uses overlapping semi-transparent areas to compare cancer survival rates for females and males from 1977 to 2013. The chart highlights the trend in survival percentages over time for each sex, with pink representing females and light blue representing males. The code uses D3 v5’s `scaleTime`, `scaleLinear`, `area`, and `csv` to load and parse data, then renders the areas and axes via SVG. A legend and labeled axes clarify the visualization, which sources data from the five-year cancer survival rates by sex and race.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed