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)

d6706280a33c418ab24d9ee260d85c75

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

Dataset name: Sleep, Health and Lifestyle Data Source of data: https://www.kaggle.com/datasets/uom190346a/sleep-health-and-lifestyle-dataset