Skip to main content
100%

Summarizing Coronavirus Data

✓ Published0🌍 Public
PPorawoot Buranadilok
Last edited Dec 11, 2021
Created on Dec 11, 2021

This example summarizes the global death toll from the John Hopkins Coronavirus Dataset by displaying a single large number and the latest date in the data. It loads the CSV time-series file, maps the final date column to numeric values, and reduces them with a sum accumulator. The result is formatted with d3.format and rendered into a `<pre>` element. The visualization uses D3 v5’s `d3.csv` for parsing and the `format` function from the d3 library for comma-separated output.

AI-generated description

This program loads and parses the John Hopkins Coronavirus Dataset.

MIT Licensed

Similar vizzes