Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Data Visualization in Python - Building Blocks of Altair - Tutorial Series Part 2

Samuel Chan via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the fundamental building blocks of Altair in this comprehensive tutorial, the second part of a Data Visualization in Python series. Dive deep into data types, graphical marks, and visual encoding channels essential for creating powerful visualizations. Learn about nominal, ordinal, and quantitative data types, and master techniques such as customizing scales, ranges, and colors. Discover how to enhance your plots with tooltips, faceting, and legend positioning. Gain hands-on experience with various graphical marks including bar, line, and area charts, and explore different stacking strategies. Based on the University of Washington's data visualization curriculum, this tutorial provides practical insights and code examples to elevate your Altair skills.

Syllabus

Intro to Building Blocks of Altair
Data Types in Altair
Nominal :N vs Ordinal :O data
Quantitative :Q data types
Turning off zero-baselining and nice-snapping with alt.Scale
alt.X, alt.Y, alt.Size w/ custom ranges
alt.Color for continuous vs discreet variables
mark_circle is just mark_pointfilled=True
alt.OpacityValue
alt.Shape
Altair tooltips!
Using order in Altair encoding
Tooltip in Altair plots
Faceting w/row and columns
Chart's width and height
Legend positioning & orientation
selection_single with binding_range and initialized value
Graphical marks: mark_bar
Graphical marks: mark_line
Graphical marks: mark_area w/ different stacking strategies

Taught by

Samuel Chan

Reviews

Start your review of Data Visualization in Python - Building Blocks of Altair - Tutorial Series Part 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.