Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSV Dataset - Mortality Data

Public visualization

Viewing a saved revision (read-only)

31f1c035aa4c4f189a087e736efe5e63

CSV Dataset - Mortality Data

0 stars0🌍 Public
Nnitinramagiri1@gmail.com
Last edited Sep 12, 2024
Created on Sep 5, 2024

This example displays the first record of the Health Synergy Hospital Mortality CSV dataset as pretty-printed JSON. It shows the parsed data types and date formatting applied to the raw input. The code imports the CSV file, converts numeric fields and reformats the date to a consistent month/day/year string. The visualization simply renders this processed single row inside an HTML `<pre>` element, using JavaScript's `Date` object for parsing.

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