Viewing a saved revision (read-only)
05e8f80d0c38479d9b3721da47841b7e
covid19-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 descriptionDataset 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