Data storytelling is an emerging approach combining data visualization with narrative techniques to enhance data insights’ interpretability and emotional impact. Traditional Python libraries for data visualization, such as Matplotlib, Seaborn, and Plotly, offer powerful tools for creating static and interactive graphs. However, they lack specialized features that allow users to effectively structure and convey data-driven narratives. This paper introduces PyNarrative, an innovative Python library designed to fill this gap by integrating storytelling elements—such as annotations, context, and next steps boxes—into data visualizations. PyNarrative enables users to craft data stories that are informative but also engaging and memorable, making complex data accessible to a broader audience. This paper details the design and functionality of PyNarrative and shows a practical use case. Through PyNarrative, we aim to empower developers and data storytellers to transform raw data into meaningful narratives, advancing the field of data storytelling and contributing to more effective data communication.

PyNarrative: A Python Library for Data Storytelling

Lo Duca A.
;
2025

Abstract

Data storytelling is an emerging approach combining data visualization with narrative techniques to enhance data insights’ interpretability and emotional impact. Traditional Python libraries for data visualization, such as Matplotlib, Seaborn, and Plotly, offer powerful tools for creating static and interactive graphs. However, they lack specialized features that allow users to effectively structure and convey data-driven narratives. This paper introduces PyNarrative, an innovative Python library designed to fill this gap by integrating storytelling elements—such as annotations, context, and next steps boxes—into data visualizations. PyNarrative enables users to craft data stories that are informative but also engaging and memorable, making complex data accessible to a broader audience. This paper details the design and functionality of PyNarrative and shows a practical use case. Through PyNarrative, we aim to empower developers and data storytellers to transform raw data into meaningful narratives, advancing the field of data storytelling and contributing to more effective data communication.
2025
Istituto di informatica e telematica - IIT
Data Storytelling; Data Visualization; Python; Data Narrative
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/548942
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact