Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSV Dataset Template - Covid

Public visualization

Viewing a saved revision (read-only)

4c3fed3d6b67481e9814087f414d9b6a

CSV Dataset Template - Covid

0 stars0🌍 Public
Ssjpeno@wpi.edu
Last edited Sep 16, 2024
Created on Sep 2, 2024

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 description

The Penguins 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.csv with your own data
  • Replace the parsing logic in index.js with your own
  • Set the custom URL so you can import from it easily

Challenge

  • Find 3 datasets on a topic you are interested in
  • For each of those, fork this viz and replace the data
  • Parse the quantitative attributes into numbers
  • Update README.md to indicate the original data source