Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ayush - Sleep and Health Data

Public visualization

Viewing a saved revision (read-only)

98650269b70d4d3681af4b600e5d7753

Ayush - Sleep and Health Data

0 stars0🌍 Public
Sshindeayush76@gmail.com
Last edited Jan 31, 2024
Created on Jan 20, 2024

This example displays the third record from a Kaggle dataset on sleep, health, and lifestyle, rendered as a formatted JSON object. The visualization shows a single person’s attributes, including age, sleep duration, stress level, and daily steps. The code imports the CSV data, converts numeric strings to numbers, and then uses JavaScript’s `JSON.stringify` method to present the selected row within an HTML `<pre>` tag. The project uses raw data parsing and direct DOM manipulation via `innerHTML` to output the structured information.

AI-generated description

The Penguins Dataset, loaded and parsed as CSV.

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