Data Storytelling with Altair and AI teaches you how to turn raw data into effective, insightful data stories. You'll learn exactly what goes into an effective data story, then combine your Python data skills with the Altair library and AI tools to rapidly create amazing visualizations. Your bosses and decision-makers will love your new presentations—and you'll love how quick Generative AI makes the whole process!
About the technology
Every dataset tells a story. After you've cleaned, crunched, and organized the raw data, it's your job to share its story in a way that connects with your audience. Python's Altair data visualization library, combined with generative AI tools like Copilot and ChatGPT, provide an amazing toolbox for transforming numbers, code, text, and graphics into intuitive data presentations.
About the book
Data Storytelling with Altair and AI teaches you how to build enhanced data visualizations using these tools. The book uses hands-on examples to build powerful narratives that can inform, inspire, and motivate. It covers the Altair data visualization library, along with AI techniques like generating text with ChatGPT, creating images with DALL-E, and Python coding with Copilot. You'll learn by practicing with each interesting data story, from tourist arrivals in Portugal to population growth in the USA to fake news, salmon aquaculture, and more.
What's inside
About the reader
For data analysts and data scientists experienced with Python. No previous knowledge of Altair or Generative AI required.
About the author
Angelica Lo Duca is a researcher at the Institute of Informatics and Telematics of the National Research Council, Italy.
The technical editor on this book was Ninoslav Cerkez.
Table of Contents
PART 1
1 Introducing data storytelling
2 Running your first data story in Altair and GitHub Copilot
3 Reviewing the basic concepts of Altair
4 Generative AI tools for data storytelling
PART 2
5 Crafting a data story using the DIKW pyramid
6 From data to information: Extracting insights
7 From information to knowledge: Building textual context
8 From information to knowledge: Building the visual context
9 From knowledge to wisdom: Adding next steps
PART 3
10 Common issues while using generative AI
11 Publishing the data story
A Technical requirements
B Python pandas DataFrameC Other chart types