@krisdages/vega-functions

5.8.0 • Public • Published

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

/@krisdages/vega-functions/

    Package Sidebar

    Install

    npm i @krisdages/vega-functions

    Weekly Downloads

    3

    Version

    5.8.0

    License

    BSD-3-Clause

    Unpacked Size

    192 kB

    Total Files

    29

    Last publish

    Collaborators

    • krisdages