Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
Jjorgebotas
Last edited Apr 20, 2020
Created on Apr 20, 2020

This example visualizes the total number of COVID-19 infections per country using a simple bar chart. It loads data from a CSV file containing country names and case counts, then displays the values as vertical bars on an SVG canvas. The chart is built with D3.js version 5, using the `d3.select` and `d3.csv` APIs to fetch and parse the data, while the SVG element is sized directly from its width and height attributes. The bars represent the relative infection totals, with the US showing the largest value.

AI-generated description
MIT Licensed

Similar vizzes