An overview of Chapter 1 of the book Data Storytelling with Altair and AI
What is Data Storytelling?
Data storytelling goes beyond visualization. It’s a journey that starts with data exploration and culminates in a narrative that guides the audience toward insights and understanding. This approach bridges the gap between data professionals and audiences by framing data in a meaningful context.
Learn more
Amazon
https://www.amazon.com/Data-Storytelling-Altair-Angelica-Duca/dp/1633437922/
Manning.com
https://www.manning.com/books/data-storytelling-with-altair-and-ai
1 of 7
Download to read offline
More Related Content
Data Storytelling with Altair and AI - Chapter 1.pdf
2. Introduction
Data storytelling is
crucial for effectively
communicating insights.
– combines data
science with
narrative
techniques to make
data relatable.
– shifts focus to the
audience’s
perspective.
3. What is Data Storytelling
• Data storytelling
– turns raw data into engaging
narratives.
– Moves from data exploration to
presentation.
– Focuses on relatable stories to
help audiences make informed
decisions.
4. Tools for Data Storytelling
• Python Altair:
– A declarative library
simplifying
visualization.
• Generative AI:
– Tools like ChatGPT,
DALL-E, and GitHub
Copilot aid in text,
images, and code.
import altair as alt
import pandas as pd
df = pd.DataFrame({
'x': [1, 2, 3, 4, 5],
'y': [1, 4, 9, 16, 25]
})
chart = alt.Chart(df
).mark_line(
).encode(
x='x',
y='y'
).properties(
title='Square Numbers'
)
chart.save(‘chart.png’)
5. The DIKW Pyramid
• The DIKW Pyramid guides
data storytelling.
• Helps to structure data
stories from raw data to
actionable insights.
• Each step transforms
data, adding context,
knowledge, and wisdom.
6. Key Takeaways
• Data storytelling combines art and science, encouraging
audience action.
• Shifts the focus from the data scientist’s perspective to
audience interests.
• Python Altair and Generative AI enhance the storytelling
process.
• The DIKW Pyramid structures data, making it actionable
and impactful.