# @antv/g2-extension-plot

> The mark plot in antv/g2

Latest version **0.2.2** (published 2025-03-26) · 0 weekly downloads

## Install

```sh
npm install @antv/g2-extension-plot
pnpm add @antv/g2-extension-plot
yarn add @antv/g2-extension-plot
bun add @antv/g2-extension-plot
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2025-03-26 |
| First published | 2023-11-28 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 160 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Maintainers | lvisei, freestyle21, soundquiet, elaine.q.10, sturuby, sakuya223, serializedowen, xdzhao, yangzhanmei, wjgogogo, leungwensen, dori, iaaron, yard, simaq, dxq613, intchous, susan_ann, jinke.li, lzxue, army8735, atool, baizn, dengfuping, neoddish, jeffy2012, zqlu, afc163, pomelo-nwu, kopiluwaky, ccnuzindex, panyuqi, bubkoo, zengyue, kasmine, boyu.zlj, l1ud0ngq1, newbyvector, winniexing, chenluli, kn9117, xdddst, semious2020, esora, nadia_liu, bbsqq, mxz96102, openwayne, pearmini, pddpd, yiqianyao, zhanba, cxxxxxn, laixingui.lxg, susiwen8, yanxiong, zeyuwang, rainy25ghz, zhangjunjie-loki, flash1, yisi.wang, dreammy23, biupiubiupiu, basketduck, xuying1027, banxuan, bqxbqxbqx, xcf(-_-), boyyangzai, siqishen, interstellarmt, moayuisuda |

## Links

- npm: https://www.npmjs.com/package/@antv/g2-extension-plot
- Repository: https://github.com/antvis/g2-extensions
- Homepage: https://github.com/antvis/g2-extensions#readme
- Issues: https://github.com/antvis/g2-extensions/issues
- npm.io page: https://npm.io/package/@antv/g2-extension-plot

## Dependencies (3)

- [@antv/g2](https://npm.io/package/@antv/g2.md) ^5.1.8
- [@antv/util](https://npm.io/package/@antv/util.md) ^3.3.5
- [@antv/vendor](https://npm.io/package/@antv/vendor.md) ^1.0.10

## Recent versions

- 0.2.2 (latest) — 2025-03-26
- 0.2.1 — 2024-06-28
- 0.2.0 — 2024-04-09
- 0.1.2 — 2024-04-09
- 0.1.1 — 2023-12-04
- 0.1.0 — 2023-11-28

## README

# g2-extension-plot

The plot for @antv/g2 marks.

## Getting Started

Install `@antv/g2-extension-plot` and `@antv/g2` via package manager such NPM or Yarn.

```bash
$ npm install @antv/g2-extension-plot @antv/g2
```

Use mark individually:

```js
import { Runtime, extend, corelib } from "@antv/g2";
import { plotlib } from "@antv/g2-extension-plot";

const Chart = extend(Runtime, { ...corelib(), ...plotlib() });

const chart = new Chart({ container: "container" });

  chart
    .sunburst()
    .data({
      type: 'fetch',
      value: 'https://gw.alipayobjects.com/os/antfincdn/ryp44nvUYZ/coffee.json',
    })
    .animate('enter', { type: 'waveIn' })
    .coordinate({ type: 'polar', innerRadius: 0 });

  chart.render();
```

## License

MIT@[AntV](https://github.com/antvis).

---
_Source: https://npm.io/package/@antv/g2-extension-plot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
