A mobile-first, interactive charting library with a grammar of graphics for building 50+ chart types across H5, Node.js, and mini-programs.
F2 is a mobile-first charting library that uses a grammar of graphics approach to create interactive, data-driven visualizations. It solves the problem of building performant, touch-optimized charts for mobile web and cross-platform applications like mini-programs and React Native.
Frontend and mobile developers building data visualization features in H5 apps, mini-programs (Alipay/WeChat), React Native, or Weex projects.
Developers choose F2 for its mobile-optimized performance, cross-platform compatibility, and flexible grammar-based API that allows creating diverse chart types without bloated code.
📱📈An elegant, interactive and flexible charting library for mobile.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Lightweight bundle size (44-56KB gzipped) with smooth animations and touch-friendly interactions, specifically designed for fast performance on mobile devices.
Supports H5, Node.js, Alipay/WeChat mini-programs, React Native, and Weex with a single codebase, reducing development effort for multi-environment projects.
Uses grammar of graphics theory to compose over 50 chart types through data-driven configuration, eliminating the need for per-chart custom code.
Allows customization of shapes, animations, interactions, and styles, enabling unique, branded visualizations beyond standard chart types.
The grammar of graphics API requires understanding its specific syntax and concepts, which can be more complex than simpler, declarative chart libraries.
Primary documentation and community resources are heavily Chinese-centric, with an English version that may lack depth or timely updates for international developers.
Tightly integrated with the AntV ecosystem, which might limit flexibility or require additional effort for projects using other visualization or tooling stacks.