roc-chart

1.1.2 • Public • Published

roc-chart

the #d3js bl.ock Animated ROC Chart packaged up as an node module.

example

to install rocChart:

$ npm i rocChart --save  

then, in your project:

import rocChart from 'rocChart';

export function drawROCChart() {
  const data = // your data
   
  rocChart.plot('body', data, options);
}

roc-chart-1

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

/roc-chart/

    Package Sidebar

    Install

    npm i roc-chart

    Weekly Downloads

    0

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • martinturoci
    • h2o-ops