Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data - Burnout

Public visualization

Viewing a saved revision (read-only)

3c3e1008a76a474590ed30f36c66eef5

Loading Data - Burnout

0 stars0🌍 Public
MMatt Hagger
Last edited Sep 3, 2025
Created on Sep 3, 2025
Forked from Loading Data

This visualization demonstrates the process of loading and parsing a CSV dataset about employee burnout. The code begins with a loading state, fetches the `data.csv` file, and parses it into a JSON structure using the `csvParse` function from D3 v7. Numeric fields are explicitly converted to numbers, while categorical fields like `Gender` and `Country` remain as strings. The parsed data is then stored in the application state and displayed as a pretty-printed JSON object, showcasing the data-cleaning and preparation steps before any visual encoding.

AI-generated description