Skip to content
Back to search

graphic

A grammar of data visualization and Flutter charting library.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/entronad--graphic/badge.svg)](/listings/entronad--graphic)

HTML

<a href="/listings/entronad--graphic"><img src="/api/listings/entronad--graphic/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 69 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Graphic
  2. <p align="left">
  3. <a href="https://pub.dev/packages/graphic">
  4. <img src="https://img.shields.io/pub/v/graphic.svg" />
  5. </a>
  6. </p>
  7. Graphic is a grammar of data visualization and Flutter charting library.
  8. - **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.
  9. - **Interaction**: With the *event* and *selection* definition, the chart is highly interactive, such as highlighting selected items, popping a tooltip, or scaling the coordinate.
  10. - **Animation**: Mark transition animation can be set when a chart is built or changed. The entrance animation has various forms.
  11. ## Skill for AI coding
  12. Add the following skill, and your coding agent will be an expert of charting with this library:
  13. ```
  14. npx skills add https://github.com/entronad/graphic --skill flutter-chart
  15. ```
  16. Or you can find the skill in `/skills/flutter-chart` of this repository.
  17. ## Documentation
  18. See in the [documentation](https://pub.dev/documentation/graphic/latest/graphic/graphic-library.html).
  19. (But in fact, I would prefer you to use the *skill* above for your coding agent.)
  20. ## Examples
  21. Example of charts can be seen in the [Example App](https://github.com/entronad/graphic/tree/main/example). Please clone this repository and run the example project in example directory.
  22. <div align="center">
  23. <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation1.gif" width="40%" height="40%" />
  24. <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation2.gif" width="40%" height="40%" />
  25. <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation3.gif" width="40%" height="40%" />
  26. <img src="https://github.com/entronad/graphic/raw/main/devdoc/animation4.gif" width="40%" height="40%" />
  27. <img src="https://github.com/entronad/graphic/raw/main/devdoc/signal_channel.gif" width="40%" height="40%" />
  28. <img src="https://github.com/entronad/graphic/raw/main/devdoc/selection_channel.gif" width="40%" height="40%" />
  29. </div>
  30. ![examples](https://github.com/entronad/graphic/raw/main/devdoc/examples.jpg)
  31. ## Tutorials
  32. [The Versatility of the Grammar of Graphics](https://medium.com/@entronad/the-versatility-of-the-grammar-of-graphics-d1366760424d)
  33. [How to Build Interactive Charts in Flutter](https://medium.com/@entronad/how-to-build-interactive-charts-in-flutter-e317492d5ba1)
  34. ## Share this Lib
  35. [![Twitter](https://img.shields.io/badge/share%20on-twitter-03A9F4?style=flat-square&logo=twitter)](https://twitter.com/share?url=https://github.com/entronad/graphic&text=Graphic:%20A%20grammar%20of%20data%20visualization%20and%20Flutter%20charting%20library.)
  36. [![HackerNews](https://img.shields.io/badge/share%20on-hacker%20news-orange?style=flat-square&logo=ycombinator)](https://news.ycombinator.com/submitlink?u=https://github.com/entronad/graphic)
  37. [![Reddit](https://img.shields.io/badge/share%20on-reddit-red?style=flat-square&logo=reddit)](https://reddit.com/submit?url=https://github.com/Kanaries/pygwalker&title=Graphic:%20A%20grammar%20of%20data%20visualization%20and%20Flutter%20charting%20library.)
  38. ## License
  39. Graphic is [MIT License](https://github.com/entronad/graphic/blob/main/LICENSE).
  40. ## Keep Informed
  41. [Twitter](https://twitter.com/entronad_viz)
  42. [Medium](https://medium.com/@entronad)
  43. [Zhihu](https://www.zhihu.com/people/entronad)
  44. Thanks for reading.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.