Scales

Learn how to set scales in Altair.

Scales map data values to visual properties. In Altair, we can determine the scale of an encoding channel by passing the scale parameter to it.

How to use scales in Altair

To scale a specific encoding channel, set the scale parameter as follows. ...