Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

DATA SCIENCE

Les Misérables Social Network Analysis Using Marimo Notebooks and the NetworkX Python library

Build a Marimo notebook using NetworkX Python library, uncovering the hidden structures in Victor Hugo’s masterpiece

14 min readOct 31, 2024

--

Image created by the author using GPT-4o

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.

What about Les Misérables?💔

Certainly, 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…

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Maria Mouschoutzi, PhD
Maria Mouschoutzi, PhD

Written by Maria Mouschoutzi, PhD

essays about data, AI/ML & tech 💌

Responses (1)