DATA SCIENCE
Build a Marimo notebook using NetworkX Python library, uncovering the hidden structures in Victor Hugo’s masterpiece
In this post, I walk you through building an interactive Marimo notebook for social network analysis, utilizing the NetworkX Python library and the Les Misérables social network dataset. By implementing social network analysis techniques, we can gain insights into how the connections among the various characters of the novel shape the story, uncovering themes of justice, love, and sacrifice that define the novel’s narrative.
Certainly, Les Misérables is one of the greatest stories ever told. I literally adore every version and variation of it — the book, the movies, the TV series, the musical — all of it.
Written in 1862, Les Misérables explores the concepts of justice, redemption, love, and sacrifice within the societal and cultural framework of 19th-century France. The narrative follows the lives of several different characters, most notably Jean Valjean, an ex-convict seeking redemption, and Inspector Javert, who is…