🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

vega-functions

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-functions

Custom functions for the Vega expression language.

6.0.0
latest
npm
Version published
Weekly downloads
170K
-3.87%
Maintainers
4
Weekly downloads
 
Created
Source

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

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

Keywords

vega

FAQs

Package last updated on 27 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts