# hustcc/PyG2Plot

🎨 Python3 binding for `@AntV/G2Plot` Plotting Library .

Repository: https://github.com/hustcc/PyG2Plot
Canonical: https://ross.abutalabs.com/products/pyg2plot
Language: Python
License: MIT
License Family: permissive
Topics: visualization, antv, g2plot
Last push: 2022-11-29T10:16:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-07T02:58:08.109385+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2063, "days_push": 1377, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1075, forks 115 (observed 2026-09-06T21:09:30.122832+00:00)

## What it is
PyG2Plot is a Python 3 binding for the AntV G2Plot JavaScript charting library, letting users create interactive statistical charts from Python via declarative option dictionaries. It can render charts to HTML files, HTML strings, or directly inside Jupyter Notebook and JupyterLab.

## Use cases
- create interactive line, bar, and pie charts from Python
- render statistical plots to standalone HTML files
- visualize data inline in Jupyter Notebook or JupyterLab
- build charts using the grammar of graphics with JSON-like options
- embed JavaScript callbacks for custom chart styling

## When to choose
- you want AntV G2Plot's interactive charts from Python code
- you need charts that render in Jupyter notebooks
- you prefer declarative JSON-style chart configuration
- you want to export charts as self-contained HTML

## When to avoid
- you need a purely native Python plotting stack like matplotlib
- you require server-side raster image output (PNG/SVG) without a browser
- you need a library with frequent updates and active maintenance
- you are not comfortable with JavaScript-flavored chart options

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts
- domain: data-visualization, data-science, web-development
- platform: python, cross-platform
- tags: antv, g2plot, jupyter, charting, grammar-of-graphics

## Member repositories
- hustcc/PyG2Plot (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-09-06T21:09:30.122832+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:26.702784+00:00, confidence not recorded.
  - readme: https://github.com/hustcc/PyG2Plot (fetched 2026-09-06T21:09:30.122832+00:00, sha 9076ce46a1e8)
  - registry_pypi: https://pypi.org/pypi/pyg2plot/json (fetched 2026-08-29T12:55:15.945980+00:00, sha 3af90c6465b2)
- Data as of 2026-09-07T08:21:23.190159+00:00.
