liveBook · Manning

Text channel

As explained in Data Storytelling with Altair and AI

A text channel maps data to textual content displayed as supplementary chart annotation.

A text channel maps data values to textual content displayed as chart annotation or as a call to action. In an actionable data story, it turns structured recommendations into readable next steps. section 9.2.2

Actionable recommendations

A CTA DataFrame stores recommendations such as “Ask other hoteliers” and “Invite the administrative team.” The text channel renders each recommendation beside its associated image in a layered final chart.

How Data Storytelling with Altair and AI covers it

How deep it goes
Explains implementation through a base chart, text mark, encoding, and formatting properties.
Examples
Uses hotelier recommendations, a swimming-pool case study, and a CTA DataFrame containing text and image fields.
What it assumes
Assumes a DataFrame and base chart, while demonstrating the text-specific mark and encoding from that structure.
What you can do after
Build it from scratch by encoding textual recommendations and styling them within an Altair data story.
How it connects
Connects text encoding with text marks, image marks, DataFrames, and layered charts.

This explainer was generated by Manning's knowledge graph from the text of Data Storytelling with Altair and AI. The section links point to the parts of the book it draws on.