Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Viewing a saved revision (read-only)

61a8f603e8f141aa949620511d0e7d48

Making a bar chart

0 stars0🌍 Public
Kkhuton
Last edited Mar 15, 2020
Created on Mar 15, 2020
Forked from HTML Starter

This example shows a bar chart of COVID-19 total cases by country, ordered from China at the top to Qatar at the bottom. The chart is rendered as an SVG using the D3.js library, which loads the CSV data asynchronously via the `csv` function. The code selects the existing SVG element using `select` and reads its width and height attributes with `attr` to establish the chart dimensions.

AI-generated description

A bare minimum HTML page.

See also React Starter.