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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    0
  • 1.1.1
    0

Package Sidebar

Install

npm i roc-chart

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • martinturoci
  • h2o-ops