Skip to main content
100%

Making a bar chart!

✓ Published0🌍 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
MIT Licensed

Similar vizzes