Skip to main content
Public

Share visualization

Loading preview…

Q1 ICE6: Bar Chart for Cancer Deaths USA - 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

Q1 ICE6: Bar Chart for Cancer Deaths USA - 2019

0
AAsrar Al Qassem
Last edited Mar 21, 2024
Created on Mar 20, 2024

This chart displays the number of deaths for each cancer type in the USA for 2019, sorted in descending order. It uses horizontal bars with lengths proportional to the death counts, colored by cancer type via a categorical scale. The visualization is built with React and D3 v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and animated `transition` effects to grow the bars smoothly. Data is loaded from a CSV file using `d3.csv`.

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