🌍 Public
Viewing a saved revision (read-only)
9e8be8f73b7b4f40858597fda760d164
Loading Data - Burnout
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