Summarising Coronavirus Data
✓ Published0🌍 Public
This example summarizes the global death toll from the Johns Hopkins Coronavirus dataset. It displays a single large text element showing the total number of deaths and the date of the latest data column. The visualization loads the CSV with `d3.csv`, extracts the final column, and sums its numeric values using `Array.reduce`. It formats the result with `d3.format` and updates the page’s `pre` element via `getElementById`.
AI-generated descriptionThis program loads and parses the Johns Hopkins Coronavirus dataset.
MIT Licensed