Skip to main content
Public

Share visualization

Loading preview…

ICE-6 Cancer Deaths 2019

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

ICE-6 Cancer Deaths 2019

3
AAsrar Al Qassem
Last edited Mar 18, 2024
Created on Mar 15, 2024

A horizontal bar chart displays cancer death counts across cancer types in the USA for 2019, using data from a CSV file filtered to the year and country. Built with React and D3 v5, the visualization renders SVG rectangles whose widths animate over eight seconds via `transition()` based on a linear scale. Categorical colors from `schemeCategory10` distinguish each cancer type, with axes generated by `axisBottom` and `axisLeft`. The data is loaded with `d3.csv` and processed into a flat array for scaling and rendering.

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