Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing COVID data

Public visualization

Fork of Loading and Parsing COVID data

0 stars0🌍 Public
CCatalina Vajiac
Last edited Mar 3, 2022
Created on Mar 3, 2022

This visualization displays the total number of COVID-19 deaths in the United States, aggregated from the latest date in a time-series dataset supplied by the CSSE at Johns Hopkins University. It shows a single large text value that updates dynamically based on the data. The code uses the D3 library (d3.csv) to fetch and parse the CSV file, then applies a reduce function with a sum accumulator to calculate the total. A comma formatter from d3.format displays the result within a pre element.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed