A collection of composable React components for building interactive data visualizations
Installations
npm install victory
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
18.20.5
NPM Version
10.8.2
Score
64.1
Supply Chain
87.1
Quality
98.9
Maintenance
100
Vulnerability
98.9
License
Releases
Contributors
Languages
TypeScript (58.4%)
MDX (29.11%)
JavaScript (12.31%)
CSS (0.18%)
Developer
Download Statistics
Total Downloads
49,767,038
Last Day
27,833
Last Week
219,268
Last Month
1,013,939
Last Year
11,857,193
GitHub Statistics
11,046 Stars
8,639 Commits
524 Forks
122 Watching
54 Branches
236 Contributors
Bundle Size
497.58 kB
Minified
131.13 kB
Minified + Gzipped
Package Meta Information
Latest Version
37.3.5
Package Id
victory@37.3.5
Unpacked Size
2.17 MB
Size
383.43 kB
File Count
11
NPM Version
10.8.2
Node Version
18.20.5
Publised On
19 Dec 2024
Total Downloads
Cumulative downloads
Total Downloads
49,767,038
Last day
-43.4%
27,833
Compared to previous day
Last week
-15.4%
219,268
Compared to previous week
Last month
0.6%
1,013,939
Compared to previous month
Last year
18.4%
11,857,193
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
27
Peer Dependencies
1
Victory Documentation
Getting started
- Add Victory to your project:
1$ npm install victory --save
- Add your first Victory component:
1import React, { Component } from "react"; 2import { render } from "react-dom"; 3import { VictoryPie } from "victory"; 4 5class PieChart extends Component { 6 render() { 7 return <VictoryPie />; 8 } 9} 10 11render(<PieChart />, document.getElementById("app"));
VictoryPie
component will be rendered, and you should see:
For detailed documentation and examples please see Victory Documentation
Requirements
Projects using Victory should also depend on React and prop-types.
Victory Native
Want to use Victory
with React Native? Check out victory-native-xl
If you would like to use this version of Victory
with React Native, you can install the legacy version using the legacy
npm tag. See the available versions in npm.
Contributing
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
Found 27/28 approved changesets -- score normalized to 9
Reason
license file detected
Details
- Info: project has a license file: LICENSE.txt:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/issue-stale.yml:11
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:12
- Warn: jobLevel 'deployments' permission set to 'write': .github/workflows/release.yml:16
- Warn: jobLevel 'packages' permission set to 'write': .github/workflows/release.yml:17
- Warn: no topLevel permission defined: .github/workflows/chromatic.yml:1
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/issue-stale.yml:1
- Warn: no topLevel permission defined: .github/workflows/issue-triage.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/chromatic.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/chromatic.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/chromatic.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/chromatic.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/ci.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-stale.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/issue-stale.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-triage.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/issue-triage.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/FormidableLabs/victory/release.yml/main?enable=pin
- Info: 0 out of 7 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 29 are checked with a SAST tool
Reason
32 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-7q7g-4xm8-89cq
- Warn: Project is vulnerable to: GHSA-pwfr-8pq7-x9qv
- Warn: Project is vulnerable to: GHSA-c2jc-4fpr-4vhg
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-36jr-mh4h-2g58
- Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-mpg4-rc92-vx8v
- Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc
- Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp
- Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq
- Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3
- Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j
- Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986
- Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Score
4.7
/10
Last Scanned on 2024-12-23
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