h2oai/roc-chart

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

roc-chart

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

example

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);

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.