🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

roc-chart

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roc-chart

a chart that plots receiver operating characteristic curves

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

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

Keywords

roc

FAQs

Package last updated on 28 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts