Report a problem or share feedback← Catalog
AntV G2 · Rectangle marks
freeantv-g2/rect
Encode values in a matrix.
$
pnpm add @antv/g2npm deps: @antv/g2
Our notes
Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Keep the visualization grammar explicit and dispose the chart on unmount. Pin a compatible major when adapting older examples; do not treat G2 and the G6 graph engine as interchangeable. Upstream: https://github.com/antvis/g2. License: MIT. Package metadata: @antv/g2@5.4.8. Runtime integration is not verified by this metadata sync.- Source
- AntV G2
- Kind
- component
- Categories
- chart
- Use as
- recipe — technique you apply to your own markup
- Applies to
- chart
- Motion
- not tagged (static or unknown)
- Tags
- data-visualization, visualization-reference, canvas, svg, integration-recipe, rect
- Licence
- MIT; retain the upstream license and notices. Hosted commercial products/examples are separate.
- Live demo
- g2.antv.antgroup.com
- Docs
- g2.antv.antgroup.com
Similar
Compare all 4 →- AG Charts Community · Bar chartag-charts/barIntegration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Only ag-charts-community is indexed. Register the current Community modules as documented; Enterprise modules, gated chart types and paid interactions are excluded. React/Angular/Vue wrappers are optional separate integrations. Confirm version-matched modules and size the chart container; destroy chart instances on unmount. Upstream: https://github.com/ag-grid/ag-charts. License: MIT. Package metadata: ag-charts-community@14.2.0. Runtime integration is not verified by this metadata sync.
- AG Charts Community · Line chartag-charts/lineIntegration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Only ag-charts-community is indexed. Register the current Community modules as documented; Enterprise modules, gated chart types and paid interactions are excluded. React/Angular/Vue wrappers are optional separate integrations. Confirm version-matched modules and size the chart container; destroy chart instances on unmount. Upstream: https://github.com/ag-grid/ag-charts. License: MIT. Package metadata: ag-charts-community@14.2.0. Runtime integration is not verified by this metadata sync.
- Billboard.js · Bar chartbillboard/barIntegration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Import the matching Billboard CSS and use current named shape imports/tree shaking where appropriate. The API renders into a sized browser container; wrap mount/update/destroy for the consuming framework. Match its actual package peers; do not assume an older documentation example matches the latest API. The React peer is optional for its React wrapper; the browser DOM API remains framework-neutral. Upstream: https://github.com/naver/billboard.js. License: MIT. Package metadata: billboard.js@4.1.3; peers: react >=16.8.0. Runtime integration is not verified by this metadata sync.