Gathering detailed insights and metrics for @antv-source/g2plot
Gathering detailed insights and metrics for @antv-source/g2plot
Gathering detailed insights and metrics for @antv-source/g2plot
Gathering detailed insights and metrics for @antv-source/g2plot
🍡 An interactive and responsive charting library based on G2.
npm install @antv-source/g2plot
Typescript
Module System
Node Version
NPM Version
TypeScript (98.09%)
JavaScript (1.12%)
CSS (0.79%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,603 Stars
995 Commits
601 Forks
63 Watchers
15 Branches
115 Contributors
Updated on Jul 02, 2025
Latest Version
0.0.5
Package Id
@antv-source/g2plot@0.0.5
Unpacked Size
9.13 MB
Size
2.09 MB
File Count
2,134
NPM Version
8.11.0
Node Version
16.16.0
Published on
Apr 18, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
14
41
English | 简体中文
G2Plot is an interactive and responsive charting library. Based on the grammar of graphics, you can easily make superior statistical charts through a few lines of code.
With AntV design principles of data visualization, G2Plot provides standard and elegant visual styles as well as neat config options.
G2Plot guarantees the readability of the charts in different sizes and data.
With the feature of layers, charts can be grouped, nested or linked to do exploratory analysis and expressive storytelling.
1$ npm install @antv/g2plot
1<div id="container"></div>
1import { Bar } from '@antv/g2plot'; 2 3const data = [ 4 { year: '1951 年', sales: 38 }, 5 { year: '1952 年', sales: 52 }, 6 { year: '1956 年', sales: 61 }, 7 { year: '1957 年', sales: 145 }, 8 { year: '1958 年', sales: 48 }, 9]; 10 11const bar = new Bar('container', { 12 data, 13 xField: 'sales', 14 yField: 'year', 15 seriesField: 'year', 16}); 17 18bar.render();
Your contributions are always welcome! Please Do have a look at the issues first.
To become a contributor, please follow our contributing guide.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
DingTalk Group Number: 30233731 / 35686967 (Group 2) / 44788198 (Group 3)
ChartCube - Online chart making tool based on G2Plot.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 25/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
SAST tool is not run on all commits -- score normalized to 1
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
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