Skip to content
G

G2

The concise and progressive visualization grammar

by antvisFree

#95in Design
0In stores

Description

G2 is a visualization library from AntV built on a concise, progressive visualization grammar, named after Leland Wilkinson's book The Gramm…

Highlights

  • Declarative, concise chart API
  • Marks, scales, transforms and coordinates
  • Extensible scales, marks and transforms
  • Canvas, SVG and WebGL rendering
  • Animations and interactions
  • React bindings and extensions

Ratings & Reviews

No ratings yet

Be the first to rate G2.

People also visit

G

G6

A Graph Visualization Framework in JavaScript

Productivity
Launch
V

Visx

Visualization components

Design
Launch
P

Plot

A concise API for exploratory data visualization implementing a layered grammar

Developer Tools
Launch
G

Gganimate

A Grammar of Animated Graphics

Utilities
Launch
Z

ZoomCharts

Creating meaningful and aesthetically pleasing data visualizations

Design
Launch
N

@nivo/annotations

<a href="https://nivo.rocks"><img alt="nivo"

UI Libraries
Launch

G2 FAQ

What is G2?

A visualization grammar for building dashboards, exploring data and telling stories with charts, from the AntV family.

How do I install it?

G2 is usually installed through npm or Yarn, and the Getting Started section shows how to import the Chart object.

Can I make custom charts?

Yes. G2 lets you extend scales, transforms and marks, and you can build your own visualization tool on the same mechanism.

Does it work with React?

Yes, through g2-react, a lightweight React component, or ant-design-charts, a React chart library built on G2.

Which rendering options are there?

Canvas, SVG or WebGL, through the G renderer.

Where can I learn it?

The site offers an introduction, a large number of examples, interactive tutorials and the API reference.

What are the best G2 alternatives?

Popular alternatives to G2 include Visx, ZoomCharts and nivo. See all G2 alternatives

Developer Stuff

Badges