Description Usage Arguments References
Log Scale
1 2 |
vl |
Vega-Lite object |
domain |
Custom domain values. For quantitative data, this can take the form of a two-element array with minimum and maximum values. |
range |
The range of the scale represents the set of output visual values. Vega-Lite automatically determines appropriate range based on the scale’s channel and type, but range property can be provided to customize range values. |
clamp |
if true, values that exceed the data domain are clamped to either the minimum or maximum range value. Default value: derived from scale config (true by default) Supported Types: only linear, pow, sqrt, and log |
nice |
If true, modifies the scale domain to use a more human-friendly number range (e.g., 7 instead of 6.96). Default value: true only for quantitative x and y scales and false otherwise. |
zero |
If true, ensures that a zero baseline value is included in the scale domain. Default value: true if the quantitative field is not binned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.