PHPackages                             kongoon/yii2-c3js-chart - 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. [Templating &amp; Views](/categories/templating)
4. /
5. kongoon/yii2-c3js-chart

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

kongoon/yii2-c3js-chart
=======================

C3JS Chart for Yii Framework 2.0

0.0.4(9y ago)0490BSD 3-ClausePHP

Since May 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kongoon/yii2-c3js)[ Packagist](https://packagist.org/packages/kongoon/yii2-c3js-chart)[ Docs](https://github.com/kongoon/yii2-c3js)[ RSS](/packages/kongoon-yii2-c3js-chart/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Yii2 C3JS Chart Widget
======================

[](#yii2-c3js-chart-widget)

Easily add [C3JS](http://c3js.org/) graphs to your Yii2 application.

[![Screen Shot](https://camo.githubusercontent.com/ad2470d8f94782c8a2d77271b68dc8b762bd925f435d2277c4c7a21a92e05c49/68747470733a2f2f7777772e70726f6772616d6d6572746861696c616e642e636f6d2f75706c6f6164732f312f313436333938363632315f796969322d63336a732d63686172742d7769646765742e6a7067)](https://camo.githubusercontent.com/ad2470d8f94782c8a2d77271b68dc8b762bd925f435d2277c4c7a21a92e05c49/68747470733a2f2f7777772e70726f6772616d6d6572746861696c616e642e636f6d2f75706c6f6164732f312f313436333938363632315f796969322d63336a732d63686172742d7769646765742e6a7067)

Install
-------

[](#install)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require kongoon/yii2-c3js-chart

```

Usage
-----

[](#usage)

To use this widget, insert the following code into a view file:

```
use kongoon\c3js\C3JS;

echo C3JS::widget([
    'options' => [
        'data' => [
            'x' => 'x',
            'columns' => [
                ['x', '2016-01-01', '2016-02-01', '2016-03-01', '2016-04-01', '2016-05-01', '2016-06-01'],
                ['data1', 30, 200, 100, 400, 150, 250],
                ['data2', 50, 20, 10, 40, 15, 25]
            ],
            'types' => [
                'data1' => 'bar',
                'data2' => 'bar'
            ],
        ],

        'axis' => [
            'y' => [
                'label' => [
                    'text' => 'Y Label',
                    'position' => 'outer-middle',
                ]
            ],
            'x' => [
                'type' => 'timeseries',
                'tick' => [
                    'format' => '%Y-%m-%d'
                ],
                'label' => [
                    'text' => 'X Label',
                    'position' => 'outer-middle',
                ]
            ]
        ]
    ],

]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3641d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86f6039ff91096fdc7208910a7d50f3388ae16ab4d6b0f2281c7c3d9e3314dc1?d=identicon)[kongoon](/maintainers/kongoon)

---

Top Contributors

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

---

Tags

yii2extensionyiichartc3js

### Embed Badge

![Health badge](/badges/kongoon-yii2-c3js-chart/health.svg)

```
[![Health](https://phpackages.com/badges/kongoon-yii2-c3js-chart/health.svg)](https://phpackages.com/packages/kongoon-yii2-c3js-chart)
```

###  Alternatives

[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

243979.7k40](/packages/vova07-yii2-imperavi-widget)[zxbodya/yii2-tinymce

Yii2 extension to use TinyMce with Compressor and FileManager

1732.1k3](/packages/zxbodya-yii2-tinymce)

PHPackages © 2026

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