G2: A customizable web-based framework for authoring interactive visualizations
Abstract
Specifying visual encodings and interactions is exhausting but essential for authoring interactive visualizations. In this paper, we present G2, a customizable framework designed to support rapid generation of interactive visualizations with uniform specifications. G2 employs a data-driven grammar of graphics and defines a uniform set of interaction specifications. We discuss the design and implementation of G2 with rich examples, and a user interview to demonstrate its effectiveness. Since its first release in March 2016, G2 has undergone 360 iterations, received 12,000 stars, and supported over 22,600 related projects on Github.
Fields of Study & Subjects
Data Visualization and Analytics
Computer Graphics and Visualization Techniques
Scientific Computing and Data Management
Publication details
- Journal / source
- Visual Informatics
- Volume
- 10
- Issue
- 3
- Pages
- 100307–100307
- Publication date
- 4 February 2026
- Language
- EN