antvis/f2

πŸ“±πŸ“ˆAn elegant, interactive and flexible charting library for mobile.

View on GitHub β†—Jump to charts ↓Open shareable report β†’

Summary Information

Updated 33 minutes ago
Added to GitGenius on September 8th, 2026
Created on August 29th, 2016
Open Issues & Pull Requests: 303 (+0)
GitHub issues: Enabled
Number of forks: 637
Total Stargazers: 7,991 (+0)
Total Subscribers: 154 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 28.5 hours
Mean response time: 43.4 days
90th percentile: 61.2 days
Tracked items: 32

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 2% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 35
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 649 days
Stale 30+ days: 35
Stale 90+ days: 35

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

F2 is a charting library for mobile that renders interactive visualizations on HTML5 Canvas and other environments.

F2 solves the problem of creating performant, mobile-optimized charts by applying grammar of graphics theory to data visualization. Rather than building individual chart types in isolation, the tool uses a compositional approach where chart types emerge from combining graphical elements according to grammatical rules. This allows a single codebase to express over fifty chart types while maintaining a small footprint optimized for mobile devices.

The tool suits teams building mobile-first applications that need rich charting capabilities without sacrificing performance. F2 is particularly valuable for projects targeting fragmented time consumption patterns where users need to extract information quickly from visualizations. The library's modular design supports dynamic loading, allowing developers to include only the chart types and interactions their application requires. Beyond HTML5, the tool runs on Node.js, WeChat mini-programs, Alipay mini-programs, React Native, and Weex, enabling code reuse across multiple platforms and environments. The project emphasizes mobile design principles in its interaction model, aiming for natural user behavior rather than desktop-oriented interaction patterns.

Development activity shows consistent engagement with the codebase through regular updates and maintenance. The project maintains comprehensive documentation including tutorials, API references, and example galleries. The maintainers provide extension mechanisms for custom shapes, animations, and interactions, indicating openness to developer customization needs. Active support for multiple platform targets demonstrates ongoing investment in cross-environment compatibility.