Optimized Expressions#
VegaFusion supports optimizing a subset of Vega’s expression language. Below is a detailed breakdown of expression features that are eligible for optimization.
Note
When a Vega spec includes unsupported expressions, these expressions will be included in the client Vega spec for evaluation by the standard Vega library in the browser. See How it works for more details.
Key:
✅: Full optimization support for the feature and all its options
🟡: Partial optimization support with limitations
❌: Feature is not currently eligible for optimization
Core Language Features#
Feature |
Status |
Details |
---|---|---|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
Bound Variables#
Variable |
Status |
Details |
---|---|---|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
Signal Names |
✅ |
Constants#
Constant |
Status |
Details |
---|---|---|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
Type Checking#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
Type Coercion#
Function |
Status |
Details |
---|---|---|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
Control Flow#
Function |
Status |
Details |
---|---|---|
|
✅ |
Math Functions#
Function |
Status |
Details |
---|---|---|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
Statistical Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
Date-Time Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
Array Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
String Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
Object Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
Formatting Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
|
|
✅ |
|
|
❌ |
RegExp Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
Color Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
Event Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
Data Functions#
Function |
Status |
Details |
---|---|---|
|
✅ |
|
|
❌ |
|
|
✅ |
More InfoThis is a private function that Vega-Lite uses to implement selections. |
Scale and Projection Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
Geographic Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
|
|
❌ |
Tree (Hierarchy) Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
Browser Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
Logging Functions#
Function |
Status |
Details |
---|---|---|
|
❌ |
|
|
❌ |
|
|
❌ |
Selection Functions#
These are private functions that Vega-Lite uses to implement selections.
Function |
Status |
Details |
---|---|---|
|
✅ |
|
|
✅ |