Search packages, repositories and app categories

GitHub repositoryentronad/graphic

graphic

A grammar of data visualization and Flutter charting library.

graphic project cover
Stars
1.8K
Forks
185
Last push (UTC)
Feb 25, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Graphic

Graphic is a grammar of data visualization and Flutter charting library.
  • Flexible declarative grammar: This visualization grammar derives from Leland Wilkinson's The Grammar of Graphics, and tries to balance between theoretical beauty and practicability. Data processing steps and mark shapes can be composed freely in a declarative specification, not limited to certain chart types. And shape draw methods are customizable.
  • Interaction: With the event and selection definition, the chart is highly interactive, such as highlighting selected items, popping a tooltip, or scaling the coordinate.
  • Animation: Mark transition animation can be set when a chart is built or changed. The entrance animation has various forms.

Skill for AI coding

Add the following skill, and your coding agent will be an expert of charting with this library:

npx skills add https://github.com/entronad/graphic --skill flutter-chart

Or you can find the skill in /skills/flutter-chart of this repository.

Documentation

See in the documentation.

(But in fact, I would prefer you to use the skill above for your coding agent.)

Examples

Example of charts can be seen in the Example App. Please clone this repository and run the example project in example directory.

examples

Tutorials

The Versatility of the Grammar of Graphics

How to Build Interactive Charts in Flutter

Share this Lib

Twitter HackerNews Reddit

License

Graphic is MIT License.

Keep Informed

Twitter

Medium

Zhihu

Thanks for reading.

LIN Chen GitHub avatar
GitHub author

LIN Chen ↗

Data visualization

Nanjing, China
LanguagesDartC++CMakePythonHTMLCSwiftKotlinObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 6 items

Rankings

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗