🌍 Public
Viewing a saved revision (read-only)
3028ac0cf56f4526a951f7bf50e18d2a
Danil working with Coronavirus Data
A single-page visualization displays the total number of COVID-19 deaths worldwide, formatted with commas, alongside the date of the latest data column from the Johns Hopkins CSSE time-series dataset. It loads the CSV via `d3.csv`, sums the numeric values in the final date column using JavaScript’s `reduce`, and formats the result with `d3.format`. The output appears as large red text in a `<pre>` element, updated via the DOM’s `textContent`. The code relies solely on D3 v5 for data fetching and formatting, with no chart or map rendering.
AI-generated description