Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

covid19-data

Public visualization

Viewing a saved revision (read-only)

05e8f80d0c38479d9b3721da47841b7e

covid19-data

0 stars0🌍 Public
Ccsabavath@wpi.edu
Last edited Sep 11, 2025
Created on Sep 4, 2025
Forked from Loading Data

This example displays the raw COVID-19 dataset as a formatted JSON preview, loading the CSV file via `fetch` and parsing it with `d3.csvParse`. The visualization shows the first rows of data, including date, region, confirmed cases, deaths, and recoveries, placing each field on a separate line for inspection. The code uses `d3.select` to manage a container element and `d3.selectAll` with a `join` operation to update the displayed content whenever the state changes, initially setting the data to a `'LOADING'` placeholder before fetching the file.

AI-generated description

Dataset 3: COVID-19 Dataset

Source:
COVID-19 Dataset (Corona-Virus Report)

This dataset provides global daily data for COVID-19, including confirmed cases, deaths, and recoveries by country. It’s ideal for visualizing the pandemic’s spread, comparing regional impacts, and exploring trends over time.

Attributes and Types

  • Date β€” Categorical, ordered (time)
  • Country/Region β€” Categorical, nominal
  • Confirmed β€” Quantitative, ratio
  • Deaths β€” Quantitative, ratio
  • Recovered β€” Quantitative, ratio