Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart!

Public visualization

Viewing a saved revision (read-only)

001cfae786ff48f09f83691cccc05bbd

Making a bar chart!

0 stars0🌍 Public
MMichael Todd
Last edited May 19, 2020
Created on May 19, 2020

This chart displays the confirmed COVID-19 cases for the US and Russia using horizontal bars. The population values are read from a CSV file and rendered as an SVG. The code uses D3’s `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` functions within the d3.v5 framework to map the data to bar lengths and position the axes with margins. The bars are styled with a steelblue fill.

AI-generated description