# React-G2Plot **Repository Path**: mirrors_hustcc/React-G2Plot ## Basic Information - **Project Name**: React-G2Plot - **Description**: :robot: Unofficial react component wrapper for @antvis/G2Plot - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-04-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React-G2Plot > `react-g2plot` is an unofficial react component wrapper for [@antv/g2plot](https://github.com/antvis/G2Plot). [![npm](https://img.shields.io/npm/v/react-g2plot.svg)](https://www.npmjs.com/package/react-g2plot) [![Build Status](https://github.com/hustcc/react-g2plot/workflows/build/badge.svg)](https://github.com/hustcc/react-g2plot/actions) [![npm](https://img.shields.io/npm/dm/react-g2plot.svg)](https://www.npmjs.com/package/react-g2plot) [![React Supported](https://img.shields.io/badge/React-%3E=16.8.0-blue.svg)](https://github.com/hustcc/react-g2plot) [![npm](https://img.shields.io/npm/l/react-g2plot.svg)](https://www.npmjs.com/package/react-g2plot) ## Install ```bash $ npm install react-g2plot ``` ## Usage ```jsx import ReactDOM from 'react-dom'; import React from 'react'; import { Line } from '@antv/g2plot'; // import plot from G2Plot import ReactG2Plot from 'react-g2plot'; // import React wrapper ReactDOM.render( , mountNode, ); ``` ## Documents All documents about `plot` and `options` are [here](https://g2plot.antv.vision/). ## Development ```bash $ npm install # run test case $ npm run test # run live demo $ npm run demo ``` ## LICENSE MIT@[hustcc](https://github.com/hustcc).