times / axisJS

Open source framework for creating simple interactive graphs
MIT License
75 stars 12 forks source link

AxisJS Build Status codecov.io Documentation status Join the chat at https://gitter.im/times/axisJS

2014 Ændrew Rininsland for The Times and Sunday Times

AxisJS is a light Angular-based app for generating charts. It combines with the AxisWP WordPress plugin to add rich charting capabilities to WordPress.

Live demo of AxisJS here

AxisJS is built atop the Yeoman Gulp-Angular generator and currently makes use of C3 to build charts.

AxisJS owes a huge debt of gratitude to Quartz's ChartBuilder, from where much of the PNG/SVG output code is taken (in addition to some of the interface design). However, Axis is more extensible and intended to be used for online interactive graphics.

Bower

bower install axisjs

Project goals

  1. Enable easy integration of various D3-based frameworks into a simple interface
  2. Enable a wide array of data input methods
  3. Be modular enough to allow charting frameworks to easily be replaced
  4. Allow for straight-forward customisation and styling
  5. Allow for easy integration into existing content management systems
  6. Allow journalists to easily create charts that are embeddable across a wide array of devices and media

To build

  1. npm install
  2. bower install
  3. gulp build

Modifying

The source is in the src/ folder, which gets built to dist/ when you do gulp build. When working on it, run gulp serve to invoke a light HTTP server that auto-reloads the page when you save a file. Styles are in Sass at src/app/index.scss.

Contributing

Please do a new feature branch when forking and squash your commits before making a pull request. Pull requests welcomed and encouraged. I especially welcome any documentation or unit testing PRs!

API Docs

Inline documentation is in ngDoc format and gets built to docs during gulp build. View API docs online here.

Roadmap/ToDos

Contributors

Lead developer: Ændrew Rininsland (@aendrew)

Design contributions