Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making bar chart

Public visualization

Making bar chart

0 stars0🌍 Public
Llori99-data
Last edited Mar 19, 2020
Created on Mar 19, 2020

A horizontal bar chart displays COVID-19 case counts per country, with bars ordered by the data’s CSV order. The visualization uses D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `axisLeft`/`axisBottom` for gridlines. Data is loaded via `d3.csv` and rendered as SVG rectangles with a steelblue fill, while a clickable “Hello” button triggers a browser alert.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed