Skip to main content
100%

Fork of Fly

✓ Published0🌍 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.

MIT Licensed

Similar vizzes