PHPackages                             linechart/linechart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. linechart/linechart

ActiveLibrary

linechart/linechart
===================

Define and render line charts based on data sets

014PHP

Since May 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ckressibucher/linecharts)[ Packagist](https://packagist.org/packages/linechart/linechart)[ RSS](/packages/linechart-linechart/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Line charts
===========

[](#line-charts)

Build simple svg line charts based on an array of `[x,y]` points.

[![Build Status](https://camo.githubusercontent.com/ad666784668e62955baa6ccff42e8fbf9bdcc0784cb8becf937a304cb2f6a296/68747470733a2f2f7472617669732d63692e6f72672f636b72657373696275636865722f6c696e656368617274732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ckressibucher/linecharts)[![Coverage Status](https://camo.githubusercontent.com/a7af49a771efaf6390d253da4b490e6c95ccf996dc7152616b1bec9f3aab1e02/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f636b72657373696275636865722f6c696e656368617274732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/ckressibucher/linecharts?branch=master)

Fetures
-------

[](#fetures)

- Define one or more data sets (as a list of `(x,y)` points)
- Automatically scale diagram to the range defined by the data sets
- Render data sets (as lines); render a grid (with a given number of horizontal/vertical lines)

Usage
-----

[](#usage)

See the [example.php](./example.php) file.

TODO
----

[](#todo)

- Print legends for data sets
- add labels to grid lines to indicate the values

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/81e52f2fb24def14cbf90069f298696540f5268e48efff17ab0d53df1ac41137?d=identicon)[ckressibucher](/maintainers/ckressibucher)

---

Top Contributors

[![ckressibucher](https://avatars.githubusercontent.com/u/3111098?v=4)](https://github.com/ckressibucher "ckressibucher (13 commits)")

### Embed Badge

![Health badge](/badges/linechart-linechart/health.svg)

```
[![Health](https://phpackages.com/badges/linechart-linechart/health.svg)](https://phpackages.com/packages/linechart-linechart)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
