Skip to main content
100%

Top countries of Covid-19 Bar Chart

✓ Published1🌍 Public
SSushmaNamidi@my.unt.edu
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Hello VizHub

This example displays a bar chart of the top ten countries by total COVID-19 cases, ranked by population. It uses D3's `scaleBand`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` APIs to render the axes and a line mark. The visualization loads data from a remote CSV via `csv()`, sorts it, and slices the top ten entries. Local ES6 modules like `@curran/axis-labels` handle axis labels, while `select` and `join` manage SVG elements.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes