Table of content.
We often keep hearing about so many people committing suicide and the number of such cases keep rising every passing day. Also I read somewhere that “ Suicide or depression doesn’t end the pain. It passes on to someone else”. This is exactly what triggered me to look out for data related to suicide because I wanted to understand the trend and gain some insights about such mournful events.
Also, if you are a part of any public health organization, you may get the opportunity to work with with such projects to perform analysis and come up with various trends leading to suicides which could in turn give us some hope of helping the ones with suicidal thoughts.
I have used a dataset from Kaggle which is also available in my github repository.
The dataset contains information about suicides in India that occurred between 2001–2012 and consists of below seven features:
Finally we will dig into the main agenda of exploring our data using one of python’s best interactive visualization libraries known as Plotly Express which is a wrapper for Plotly.py.
_Since the idea of this article is to visualize the data and understand the trends, I will not embed any code here but it is available in _github_ which can be accessed without any hassle._
In the above plot, we can see the details of each year and the respective count of suicides which have grown exponentially over the years and isn’t a good sign and the count has a steep rise from the year 2009 to 2010.
The above pie chart shows us an increased suicide rate from 7.51% in 2001 to 9.36% in 2011.
#data-visualization #data-analysis #plotly #visual studio code #visual studio