Skip to main content
100%

Ayush - Sleep and Health Data

✓ Published0🌍 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

MIT Licensed

Similar vizzes