Skip to main content
Public

Share visualization

Loading preview…

Brain and CNS Cancer Mortality Rate in UK

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Brain and CNS Cancer Mortality Rate in UK

1
AAsrar Al Qassem
Last edited Mar 23, 2024
Created on Mar 22, 2024

This visualization displays the mortality rate of brain and central nervous system cancer in the United Kingdom over time, with each orange circle representing a yearly data point and a blue line tracing the overall trend. The line animates itself into view using a stroke-dashoffset transition over two seconds, drawing from left to right across the SVG canvas. The chart uses D3 v5 scales for time-based x-coordinates and linear y-coordinates, with grid lines extending from both axes for readability. Data comes from a CSV file loaded via D3’s csv function, filtered to include only United Kingdom records, and the visualization is built with React, rendering as an SVG with smooth animation.

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