Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fly

Public visualization

Viewing a saved revision (read-only)

f294cc382bf7418891786a5c3725d682

Fork of Fly

0 stars0🌍 Public
AAsrar Al Qassem
Last edited Mar 15, 2024
Created on Mar 15, 2024
Forked from Fly

This bar chart visualizes cancer deaths in the USA for 2019, comparing three cancer types: liver, kidney, and lip/oral cavity. The code loads CSV data from a GitHub gist using `d3.csv`, filters for USA and year 2019, and maps the selected values to a dataset. It uses `d3.scaleBand` and `d3.scaleLinear` to position bars, with `d3.axisBottom` and `d3.axisLeft` for axes. The SVG rendering includes rotated x-axis labels and a title, with bars filled with steelblue.

AI-generated description

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

See also React Starter.