F2
📱📈An elegant, interactive and flexible charting library for mobile. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 83
- Release rhythm 56
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 27.5
- age_days: 3656
- days_rel: 296
- days_push: 106
- n_releases_24m: 7
Adoption not part of the score
7993 stars · 640 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
F2 is a lightweight, interactive charting library from AntV focused on mobile data visualization, built on the Grammar of Graphics with a declarative JSX-based API. It renders 50+ chart types on HTML5 canvas and supports multiple environments including H5, Node.js, WeChat/Alipay mini-programs, React Native, and Weex.
Use cases
- render interactive charts in a mobile web app
- add lightweight data visualization to a WeChat mini-program
- draw charts in React Native or Weex
- build custom chart types with a grammar of graphics library
- visualize financial data in a mobile app
- create small-bundle canvas charts for low-bandwidth mobile pages
When to choose
- you need charts optimized for mobile devices with a small bundle size
- you target heterogeneous environments like mini-programs, H5, and Node.js with one codebase
- you want flexible, grammar-of-graphics-based chart composition rather than fixed chart templates
- you need fine-grained customization of shapes, animations, and interactions
When to avoid
- you need desktop-first or server-side SVG charting with heavy dashboards
- you want a simple high-level chart API without learning a grammar-of-graphics model
- your project requires WebGL or 3D visualization
- you need a framework-agnostic non-JSX API only
Facets
library · maturity active
data-visualization charts ui-components data-visualization mobile-development frontend web-development cross-platform browser mobile-charts canvas grammar-of-graphics jsx miniprogram antv h5 react-native weex mobile nodejs web-server
3 sources
- readme: https://github.com/antvis/F2 · fetched 2026-08-28 · a3447b9c804a
- homepage: https://f2.antv.antgroup.com/ · fetched 2026-08-29 · a010d724023a
- site_page: https://f2.antv.antgroup.com/tutorial/getting-started · fetched 2026-08-29 · e2d1bfc4f91a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antvis/F2 | main | 77 |
| antvis/wx-f2 | sdk | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem