I think radar graphs are cool. I also think Angular.js and d3.js are cool, so I decided to create an Angular.js directive for creating customisable radial plots... and BLAM, here it is!
You can see a demo of the current feature set here.
I welcome any contributions. Please feel free to fork and improve.
Clone the repository
git clone https://github.com/GordyD/radialplot.git
cd angular-radial-plot`.
npm install
bower install
npm test
node app.jsGo to http://localhost:3000/example.html to see example radial plots.
In order to use in your project you will need to:
- include
radialplot.jsas one of your source files e.g<script src="src/radialplot.js"> - include
radialplot.cssfor styling - include
ui.radialplotas a dependency of your Angular app e.g.var app = angular.module('radialPlotExampleApp', ['ui.radialplot']);
- Plot a 1-n dimension radial plot
- Labelling
- Linear or logarithic scaling
- Interactive - can be used as an input device
- Linear or cardinal close interpolation of lines
- Overlay comparison plot on graph
- Animate between different sets of values
- Styleable
- Improve interactive mode on mobile