Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

1. Diabetes Self-Management Data

Public visualization

Viewing a saved revision (read-only)

1ee5fc238e514365b998fbacabba988a

1. Diabetes Self-Management Data

0 stars0🌍 Public
Oomniaabouhassan@gmail.com
Last edited Sep 10, 2024
Created on Sep 4, 2024

This example displays the first record of the Diabetes Self-Management dataset as a formatted JSON object in a large monospace font. The code parses a CSV file, converting age and year to numbers and transforming diabetes and heart disease statuses into booleans. It uses the `JSON.stringify` method to serialize the data, which is then inserted into the container's innerHTML within a `<pre>` tag. The visualization provides a raw data preview, highlighting the dataset's structure and initial content.

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