Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1 ICE6: Bar Chart for Cancer Deaths USA - 2019

Public visualization

Viewing a saved revision (read-only)

0f1c2466a15f4d5b883eb08478f46dcf

Q1 ICE6: Bar Chart for Cancer Deaths USA - 2019

0 stars0🌍 Public
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.