The dataset used in this project comes from the City Happiness Index - 2024 by EMİRHAN BULUT: https://www.kaggle.com/datasets/emirhanai/city-happiness-index-2024
The purpose of this project is to show an analysis of what factors in this dataset correlate to happiness and to present a theory based on these findings.
What does a general analysis of the factors related to a city's happiness tell us?
- Some variables have a direct correlation with a city's happiness, like healthcare and air quality. Other variables like cost of living have no correlation, and percentage of green space in a city has a more complicated relationship with happiness than a simple correlation.
What are the most significant factors affecting a city's overall happiness?
- The most significant factor is healthcare quality, followed by green space area and noise level.
This project was created using a Quarto Markdown file and an HTML file in VS Code. Multiple cells of python code are used in the Quarto Markdown file, as well as the python libraries pandas and plotly express to create and display graphs.
- Expanding the timeframe to include more observations for each city.
- Including the future predictions provided in the dataset.