# JFreeChart vs XChart

## Key differences

- XChart and JFreeChart have a similar number of GitHub stars (1.6K vs 1.4K).
- XChart had more development activity over the last 12 months: 307 commits vs 0.
- JFreeChart is licensed under LGPL-2.1; XChart under Apache-2.0.
- XChart is the older project: its repository was created in 2011, JFreeChart's in 2016.
- JFreeChart has had no commits since Jun 7, 2025.

| | JFreeChart | XChart |
|---|---|---|
| Description | 2D chart library for Java applications using Swing, JavaFX or server-side rendering. | Lightweight Java library for plotting data. |
| GitHub stars | 1,391 | 1,596 |
| Commits (12 months) | 0 | 307 |
| Contributors | 30 | 60 |
| License | LGPL-2.1 | Apache-2.0 |
| Language | Java | Java |
| Status | Inactive | Active |
| Install | `implementation("org.jfree:jfreechart:1.5.5")` | `implementation("org.knowm.xchart:xchart:3.8.8")` |

Source: https://awesomedataviz.com/compare/jfreechart-vs-xchart/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
