Analysis

Sentiment Timeline

This interactive timeline tracks the emotional journey of the Mahabharata, chapter by chapter.
- Before the war, Krishna maintains positive sentiment while others fluctuate.
- During battle, emotions become unstable for all characters, with significant overlap.
- Karna's sentiment drops dramatically around his death scene.
- Post-war, all characters settle near neutral emotional territory.
The convergence of sentiment during war illustrates how conflict blurs the moral lines between heroes and villains.

Emotion Heatmap

This heatmap reveals the emotional profiles of major characters:
- Bhima, Karna, and Duryodhana show the highest anger scores.
- Krishna and Yudhishthira display the highest trust scores.
- Joy appears most prominently in Yudhishthira, Krishna, and Karna.
- Negative sentiment is strongest in Bhima, Karna, and Duryodhana.
These patterns support traditional interpretations while providing numerical evidence of psychological depth.

PCA Analysis: War vs Peace Themes

Principal Component Analysis (PCA) separates war and non-war sections:
- Positive PC1: War-related terms ("shafts," "carwarriors," "pierced," "army")
- Negative PC1: Spiritual terms ("deities," "penances," "brahman," "righteousness")
- The timeline progression (Pre-War, War, Post-War) is mapped across the narrative space.

Interpretation

The first component distinguishes between the war and non-war parts of the saga. War-related terms dominate the positive PC1, while spirituality and peace are found in the negative PC1. The second component further separates antagonistic and supportive characters.

LDA Topic Modeling

Ten distinct topics were identified, including:
- Battle and warfare
- Spiritual and philosophical discourse
- Kingdom management and politics
- Family relationships
- Divine weapons and celestial beings
Topics cluster intelligently, with war-related topics in the positive PC1 direction and domestic/kingdom topics in the negative PC1.

Interpretation

The PCA on the Theta Table gives results similar to the previous PCA analysis. Topics related to battle and war appear in the positive first Principal Component, while domestic and kingdom topics are in the negative PC1. The timeline of the narration aligns with these components.

Word Embeddings with Word2Vec and t-SNE

Word2Vec embeddings visualized with t-SNE reveal:
- Emotional terms cluster together
- Warrior-related terminology forms distinct groups
- Relational terms (family) appear in proximity
These clusters demonstrate how the embedding model captures the semantic relationships within the epic's vocabulary.

Character Network (Coming Soon...)

This feature is under development and will visualize the intricate web of relationships among the epic's heroes, villains, and sages. Stay tuned for updates!