A program to analyze a WhatsApp chat and generate some interesting statistics and visualizations.
Install required python packages with pip3 install -r requirements.txt
.
Export the WhatsApp chat by going to the chat details > Export Chat > Without Media and save it to the data/
folder.
Make sure the exported chat is saved as the default name, _chat.txt
!
Run python3 main.py
with any arguments of visualizations you want to generate. New visualizations can also be generated later.
A list of possible arguments are listed below.
Argument | Description |
---|---|
--heatmap |
shows heatmap of messages sent per week day and hour |
--date |
shows graph of messages sent per day |
--person |
shows bar graph of number of messages sent per person |
--words |
shows histogram of message word length |
--wordcloud |
shows wordcloud of all messages sent |