Gathering detailed insights and metrics for vega-functions
Gathering detailed insights and metrics for vega-functions
Gathering detailed insights and metrics for vega-functions
Gathering detailed insights and metrics for vega-functions
npm install vega-functions
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
11,260 Stars
6,450 Commits
1,505 Forks
289 Watching
52 Branches
142 Contributors
Updated on 27 Nov 2024
JavaScript (74.38%)
TypeScript (24.34%)
HTML (1.1%)
Shell (0.18%)
Cumulative downloads
Total Downloads
Last day
-2.9%
27,387
Compared to previous day
Last week
-2.2%
143,551
Compared to previous week
Last month
5.9%
644,004
Compared to previous month
Last year
1.1%
8,478,467
Compared to previous year
Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. With Vega you can describe data visualizations in a JSON format, and generate interactive views using either HTML5 Canvas or SVG.
For documentation, tutorials, and examples, see the Vega website. For a description of changes between Vega 2 and later versions, please refer to the Vega Porting Guide.
For a basic setup allowing you to build Vega and run examples:
https://github.com/vega/vega
.yarn
to install dependencies for all packages. If you don't have yarn installed, see https://yarnpkg.com/en/docs/install. We use Yarn workspaces to manage multiple packages within this monorepo.yarn test
to run test cases, or run yarn build
to build output files for all packages.yarn test
or yarn build
, run yarn serve
to launch a local web server — your default browser will open and you can browse to the "test"
folder to view test specifications.This repository includes the Vega website and documentation in the docs
folder. To launch the website locally, first run bundle install
in the docs
folder to install the necessary Jekyll libraries. Afterwards, use yarn docs
to build the documentation and launch a local webserver. After launching, you can open http://127.0.0.1:4000/vega/
to see the website.
For backwards compatibility, Vega includes a babel-ified IE-compatible version of the code in the packages/vega/build-es5
directory. Older browser would also require several polyfill libraries:
1<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.4.4/polyfill.min.js"></script> 2<script src="https://cdn.jsdelivr.net/npm/regenerator-runtime@0.13.3/runtime.min.js"></script> 3<script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@3.0.0/dist/fetch.umd.min.js"></script>
Interested in contributing to Vega? Please see our contribution and development guidelines, subject to our code of conduct.
Looking for support, or interested in sharing examples and tips? Post to the Vega discussion forum or join the Vega slack organization! We also have examples available as Observable notebooks.
If you're curious about system performance, see some in-browser benchmarks. Read about future plans in our roadmap.
The latest stable version of the package.
Stable Version
2
6.1/10
Summary
Vega Expression Language `scale` expression function Cross Site Scripting
Affected Versions
< 5.13.1
Patched Versions
5.13.1
6.1/10
Summary
Vega has Cross-site Scripting vulnerability in `lassoAppend` function
Affected Versions
< 5.13.1
Patched Versions
5.13.1
Reason
4 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 24/26 approved changesets -- score normalized to 9
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More