Mental Health in Tech
This visualization displays survey data on mental health attitudes and disorders in the tech workplace. It shows each participant’s demographic information and answers to questions about treatment, workplace support, and consequences. The code loads the CSV file using `d3.csvParse` and converts the Age field to numeric values. Data is rendered as raw JSON text in a `<pre>` element, managed through a simple state system with custom `viz` and `setState` functions.
AI-generated descriptionThis is my dataset on a Survey on Mental Health in the Tech Workplace in 2014
Data
Here is a link to the data
This dataset is from a 2014 survey that measures attitudes towards mental health and frequency of mental health disorders in the tech workplace
Each row is a survey participant, there is some demographic information as well as their answers to many, questions.
Some questions are just Yes,No, Some have Maybe or Don't know in them, Some questions are on a licart scale of Easy to Difficult,
Attributes
- Here are the attributes
- "Timestamp"
- Time
- "Age"
- Numeric
- "Gender"
- Categorical
- "Country"
- Categorical
- "state"
- Categorical
- "self_employed"
- Categorical
- "family_history"
- Categorical (Boolean)
- "treatment"
- Categorical (Boolean)
- "work_interfere":
- Categorical (Likert scale)
- "no_employees"
- Categorical (Numeric ranges)
- "remote_work"
- Categorical (Boolean)
- "tech_company"
- Categorical (Boolean)
- "benefits"
- Categorical
- "care_options"
- Categorical
- "wellness_program"
- Categorical
- "seek_help"
- Categorical
- "anonymity"
- Categorical
- "leave"
- Categorical (Likert scale)
- "mental_health_consequence"
- Categorical
- "phys_health_consequence"
- Categorical
- "coworkers"
- Categorical (Likert scale)
- "supervisor"
- Categorical
- "mental_health_interview"
- Categorical
- "phys_health_interview"
- Categorical
- "mental_vs_physical"
- Categorical
- "obs_consequence"
- Categorical
- "comments"
- String
- "Timestamp"