Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Danil working with Coronavirus Data

Public visualization

Viewing a saved revision (read-only)

0f89e6bf416e4551a708a36f1716f445

Danil working with Coronavirus Data

0 stars0🌍 Public
Ssakhabutdinov
Last edited Mar 21, 2020
Created on Mar 21, 2020

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