openbrainsrc / Radian

Plotting with AngularJS
http://openbrainsrc.github.io/Radian/index.html
168 stars 19 forks source link

AngularJS + D3.js = Radian

Radian is a JavaScript library for producing interactive SVG plots in HTML using Angular JS and D3.js. Using Angular directives leads to a clear and declarative API for representing plots that can respond to UI elements via Angular data binding.

Documentation is on the website (some technical documentation is also on the wiki.)

Installation

Radian uses a very simple setup for building: there is a single Makefile in the root directory of the repository which concatenates all the Radian library source into a single radian.js, then minifies this (using UglifyJS) to make a radian.min.js.

In order to use Radian in an HTML page, you need to include one or the other of the radian.js or radian.min.js scripts, along with the radian.css stylesheet and a small number of dependencies, versions of which are included in the lib directory of the repository:

The versions of these libraries in the lib directory are known to work, but more recent versions may also be fine.

To get an idea of how to set up a page to use Radian, you can take a look at the index page for the Radian examples.