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 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