Original size 832x1248

Factors Influencing Anxiety and Stress

PROTECT STATUS: not protected
Longread translated automatically

Introduction

Anxiety is a relevant problem in the modern world, given its daily stress and unstable environment. In this study, I decided to examine how different factors can influence anxiety and stress.

I used the Anxiety Attack: Factors, Symptoms, and Severity dataset provided by Akshay Choudhary on Kaggle. For visualization, I considered various chart options and selected those that most clearly reflected the data obtained.

Data Processing

I imported the numpy, matplotlib, and pandas libraries, then downloaded the dataset and added it to the files.

big
Original size 721x147

First, I decided to investigate whether gender affects anxiety levels.

big
Original size 1023x239

Then she determined how a profession affects stress levels, since some professions are considered more demanding than others.

big
Original size 938x311

In the end, I decided to check how smoking correlates with stress levels.

Original size 969x324

Data Visualization

To style the graphs, I used a contrasting color palette. I used red to represent anxiety and calmer colors associated with tranquility.

Original size 560x506

This diagram shows that anxiety levels are not dependent on gender, as the deviations are negligible.

Original size 833x621

This graph shows that unemployment has the strongest impact on stress levels. Students experience less stress, while doctors experience more.

Original size 562x432

This graph illustrates that major life events have only a minimal impact on stress levels.

Using Neural Networks

I used neural networks to write the code and to create the cover. You can review the prompts in this document:

https://docs.google.com/document/d/1ZlxxSY8QFYfbOFJDjwZozbrruDTe1RvlQwLiXjEB0UU/edit?tab=t.0

Code Notebook and Dataset

Dataset:

https://www.kaggle.com/datasets/ashaychoudhary/anxiety-attack-factors-symptoms-and-severity

Code:

https://drive.google.com/drive/folders/1g-gLmLgNh4u2FMp9wkS-dzz5dUNE_j2r?usp=sharing

Factors Influencing Anxiety and Stress
Project created at 28.01.2025