Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

heart attack

Public visualization

Viewing a saved revision (read-only)

895c391d054e4065bd3d3ea205fbc05e

heart attack

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

This example displays the first record of a healthcare appointment dataset as a formatted JSON object, revealing patient attributes such as age, blood pressure, cholesterol, and treatment type. The code loads the data from a CSV file using an imported `data.csv` module, converts numeric fields to numbers, and renders the output in a `<pre>` element with a custom font size. The visualization relies on vanilla JavaScript and DOM manipulation rather than external charting libraries.

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