Name: roc-chart
Owner: H2O.ai
Description: null
Created: 2016-07-07 22:50:29.0
Updated: 2017-04-20 03:13:50.0
Pushed: 2017-04-19 21:58:55.0
Homepage: null
Size: 781
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
the #d3js bl.ock Animated ROC Chart packaged up as an node module.
to install rocChart
:
m i rocChart --save
then, in your project:
rt rocChart from 'rocChart';
rt function drawROCChart() {
nst data = // your data
cChart.plot('body', data, options);
pass an options object containing the values for these propteries to configure the ROC Chart:
curveColors an array of strings containing CSS color names or color hex codes. the values in this array are used to set the stroke color of each ROC curve.
'curveColors': ['blue', 'orange', 'steelblue', 'red', 'green', 'purple']
TODO: document remaining options