top of page

Bapu: Events and Emotions

Data visualisation of Bapu's emotions through key events in the Indian Independence using Sentiment Analysis and Machine Learning Models.

gandhi-1.png

Bapu : Events and Emotion visualizes Mahatma Gandhi's emotions through his letters and speeches at key events during India's freedom struggle. This project is an outcome of the International Open Elective of National Institute of Design. The two week course focused on Python, Machine Learning and Data Visualization.​​​​​​​

Data Preparation

Input for the project was sourced from the writings of Mahatma Gandhi published in over 100 volumes that are available online. The collected work was segregated into sections of individual letters and speeches using Python and Jupyter Notebooks.


Furthermore, these sections were analysed using NLTK VADER, a lexicon and rule-based sentiment analysis tool, to calculate the sentiments in each letter. The result was saved as a CSV file.

source: http://www.gandhiashramsevagram.org/gandhi-literature/collected-works-of-mahatma-gandhi-volume-1-to-98.php

bapu data.png
Data Analysis

The collection of sentiments' values for each section was analysed using Tableau in order to identify median values of each emotion corresponding to ten important events in the history of Indian independence. These values presented an overall picture of the variation of emotions over critical events and time.

data analysis .PNG
Data Visualization

Mahatma Gandhi's emotional journey that was portrayed through his letters during critical events in India's freedom struggle was visualized in this project. An interactive Web-page was developed as the deliverable for the course.

gandhi.jpg
bottom of page