Graphic
A grammar of data visualization and Flutter charting library.
Install / Use
/learn @entronad/GraphicREADME
Graphic
<p align="left"> <a href="https://pub.dev/packages/graphic"> <img src="https://img.shields.io/pub/v/graphic.svg" /> </a> </p> 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.
<div align="center"> <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation1.gif" width="40%" height="40%" /> <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation2.gif" width="40%" height="40%" /> <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation3.gif" width="40%" height="40%" /> <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation4.gif" width="40%" height="40%" /> <img src="https://github.com/entronad/graphic/raw/main/devdoc/signal_channel.gif" width="40%" height="40%" /> <img src="https://github.com/entronad/graphic/raw/main/devdoc/selection_channel.gif" width="40%" height="40%" /> </div>
Tutorials
The Versatility of the Grammar of Graphics
How to Build Interactive Charts in Flutter
Share this Lib
License
Graphic is MIT License.
Keep Informed
Thanks for reading.
Related Skills
node-connect
337.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.1kCommit, push, and open a PR
