CSV Dataset Template - Covid
This example provides a bare-bones template for importing and parsing a COVID-19 dataset from the New York Times, which tracks daily cases and deaths by U.S. state. It shows the structure of the parsed data by rendering the first record as a JSON object in a `<pre>` element. The code loads the CSV with an import statement, converts the `cases`, `deaths`, and `fips` fields to numbers, and then displays the first data point. The visualization is minimal, focusing on data loading and parsing rather than chart rendering.
AI-generated descriptionThe Covid Dataset, loaded and parsed as CSV.
Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:
- Fork this viz
- Clear out the README
- Update the README with details about your dataset (including original source)
- Replace
data.csvwith your own data - Replace the parsing logic in
index.jswith your own - Set the custom URL so you can import from it easily
I want to understand the geographic distribution of covid cases I want to understand how covid cases and deaths have changed of time (time of day, time of week, time of year, year-after-year, etc.) I want to understand the distribution/relationship between cases and deaths I want to identify subsets of the data where deaths have a high value I want to identify death rates for locations