mg-minsan / graphic

A declarative, interactive grammar of data visualization. It provides a Flutter charting library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

examples

Graphic

Graphic is a declarative, interactive grammar of data visualization. It provides a Flutter charting library.

  • A Grammar of Graphics: Graphic derives from Leland Wilkinson's book The Grammar of Graphics, and tries to balance between theoretical beauty and practicability. It inherits most concepts, like the graphic algebra.
  • Declarative and Reactive: As is encouraged in Flutter, the chart widget of Graphic is declarative and reactive. The grammar of data visualization is implemented by a declarative specification and the chart will reevaluate automatically on widget update.
  • Interactive: With the signal and selection mechanism, the chart is highly interactive. It is easy to pop a tooltip or scale the coordinate.
  • Customizable: With the shape and figure classes, it's easy to custom your own element, tooltip, annotation, etc.
  • Dataflow Graph and Operators: Graphic has a internal structure of a dataflow graph and operators. That is how the reactive reevaluation and interaction is implemented.

Installation

Install from the pub.dev.

Documentation

See in the documentation written in dart-doc.

Examples

Example of charts can be seen in the Example App.

Reference

Besides The Grammar of Graphics, the API terminology also referes to AntV and Vega. The dataflow structure is inspired by Vega.

License

Graphic is MIT License.

Keep Informed

Twitter

Medium

Zhihu

About

A declarative, interactive grammar of data visualization. It provides a Flutter charting library.

License:Other


Languages

Language:Dart 99.0%Language:HTML 0.9%Language:Swift 0.1%Language:Kotlin 0.0%Language:Objective-C 0.0%