qmetrics.net

G2

Progressive grammar for web charts and dashboards

G2 screenshot

G2 is a visualization grammar for dashboards, exploration, and storytelling with declarative marks, scales, and interactions.

Overview

G2 is a web visualization grammar aimed at dashboards, data exploration, and narrative charts. It takes inspiration from Wilkinson’s grammar of graphics and composes charts from marks, transforms, scales, coordinates, and compositions instead of a fixed chart typology.

You declare options programmatically with a functional API, and the library infers sensible defaults so simple charts need little code. Complex cases allow deeper control, and extension points let you customize scales, transforms, marks, and related pieces.

Static views can be augmented with data-driven animation and interaction grammars. It installs via common JavaScript package managers; you import a Chart object and bind data to produce SVG, canvas, or WebGL output depending on your setup.

AntV maintains G2 alongside documentation, examples, tutorials, and an ecosystem of related visualization tools.

Key features

  • Grammar of graphics composition
  • Declarative chart configuration API
  • Marks, scales, transforms, coordinates
  • Data-driven animation support
  • Action-based chart interactions
  • Extensible scales and custom marks
  • npm or Yarn installation
  • Tutorial and example gallery

Use cases

  • Interactive analytics dashboards
  • Exploratory data visualization in web apps
  • Custom chart types beyond templates
  • Animated and interactive reports
  • Embedded charts in JavaScript products

Tags

Similar software

Apache Superset

Web-based data exploration and visualization platform

Apache Superset is a business intelligence application for exploring SQL-backed data, building charts, and sharing dashboards. It connects to many databases through standard SQL drivers and offers both no-code chart building and a SQL editor

★ 75.7k⟳ todayApache-2.0
Open Source Alternative to:ChartioPower BI+2

DataEase

Open-source BI and data visualization platform

DataEase connects to many data sources and lets users build charts and dashboards through drag-and-drop analysis, then share results with controlled access.

★ 24.8k⟳ todayGPL-3.0
Open Source Alternative to:Tableau

Lightweight Charts

Compact HTML5 canvas charts for financial web apps

TradingView Lightweight Charts renders interactive market charts in the browser with a small bundle. It targets candlesticks, lines, and related series with real-time updates.

★ 18k⟳ todayApache-2.0

PyGWalker

Interactive visual exploration for Python dataframes

PyGWalker turns pandas, polars, or pyarrow tables into a drag-and-drop visual analysis UI inside notebooks or web apps. It links Python tables with the Graphic Walker exploration interface.

★ 16k⟳ 2 days agoApache-2.0

Chartbrew

Live dashboards and reports from databases and APIs

Connects SQL, NoSQL, and API data to build charts, dashboards, and scheduled reports with sharing and embed options.

★ 4.1k⟳ 2 days agoSource-available
Alternative to:ChartioTableau

Owid Grapher

Interactive data visualization platform for publishing charts

Owid Grapher is Our World in Data's stack for building embeddable interactive charts, explorers, and an admin workflow backed by MySQL.

★ 1.6k⟳ todayMIT · open core