Data Enrichment

Learn how to perform data enrichment in Altair.

Data enrichment involves adding additional information to a dataset to make it more valuable for analysis or visualization. This includes geographic coordinates, demographic information, and external data sources.

The transform_lookup() function

Altair defines the transform_lookup() function to enrich a dataset with another dataset based on a common key. This enables us to add columns to a dataset or replace existing columns with new values.

The transform_lookup() function has the following syntax:

Get hands-on with 1400+ tech skills courses.