Skip to main content
100%

covid19-data

✓ Published0🌍 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 2: 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
MIT Licensed

Similar vizzes