vega-functions
v5.15.0
Published
Custom functions for the Vega expression language.
Downloads
595,116
Readme
vega-functions
Function implementations for the Vega expression language. Unlike the basic utility functions included in the vega-expression package, this package includes custom expression functions, many of which are specific to Vega dataflows.
Provided Functions
This package provides the following expression functions. All other constants and functions are provided by the base vega-expression package.
Type Checking Functions
Type Coercion Functions
Math Functions
Date/Time Functions
Array Functions
String Functions
Object Functions
Formatting Functions
Color Functions
Event Functions
Scale and Projection Functions
- bandspace
- bandwidth
- copy
- domain
- gradient
- invert
- range
- scale
- panLinear
- panLog
- panPow
- panSymlog
- zoomLinear
- zoomLog
- zoomPow
- zoomSymlog
- flush (used internally for axis and legend label layout)
Geographic Functions
Shape Functions
- geoShape (used internally for mark clipping)
- pathShape (used internally for mark clipping)
Data Functions
- indata
- data
- setdata (used internally for scale domain data)
- modify (used internally for trigger updates)
Dataflow Functions
- encode (used internally for signal updates)
Tree (Hierarchy) Functions
Browser Functions
Logging Functions