# knowm/XChart

XChart is a light-weight Java library for plotting data.

Repository: https://github.com/knowm/XChart
Canonical: https://ross.abutalabs.com/products/xchart
Homepage: http://knowm.org/open-source/xchart
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-21T16:17:46+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 5523, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1593, forks 398 (observed 2026-08-28T04:05:08.872196+00:00)

## What it is
XChart is a light-weight Java library for plotting data, designed to go from data to chart in minimal code. It supports many chart types (line, scatter, bar, pie, histogram, heat maps, etc.), extensive styling, themes, real-time charts, and export to PNG, JPG, SVG, EPS, and PDF.

## Use cases
- plot data in a Java application
- create line, bar, or pie charts from Java code
- embed charts in a Swing GUI
- export charts as PNG or PDF images
- display real-time updating charts
- create histograms and heat maps in Java

## When to choose
- you need simple, dependency-free charting in Java or Swing apps
- you want quick data-to-chart rendering with minimal setup
- you need many chart types with customizable themes

## When to avoid
- you need interactive web-based or JavaScript charting
- you require advanced statistical or 3D plotting features
- you work outside the JVM ecosystem

## Facets
- artifact type: library
- maturity: active
- function: data-visualization, charts
- domain: data-visualization, developer-tools, cross-platform
- platform: jvm, cross-platform
- tags: plotting, swing, charting, java-library, no-dependencies, desktop

## Member repositories
- knowm/XChart (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.872196+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:14.979307+00:00, confidence not recorded.
  - readme: https://github.com/knowm/XChart (fetched 2026-08-28T04:05:08.872196+00:00, sha 4123a66778e8)
  - homepage: http://knowm.org/open-source/xchart (fetched 2026-08-29T11:25:10.861140+00:00, sha 6e5349703846)
  - site_page: https://knowm.org/about (fetched 2026-08-29T11:25:10.870195+00:00, sha 3831fa5bff45)
  - site_page: https://knowm.org/javadocs/xchart/index.html (fetched 2026-08-29T11:25:10.872149+00:00, sha ed578f8c9c4a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
