Skip to content

Instantly share code, notes, and snippets.

Last active Oct 17, 2017
What would you like to do?
external_nodes = [["", 0.23],["", 0.85], ...] //sample data - in reality you'd probably get this from an API
const label = element[0];
const confidence = element[1];
data: {
id: label,
label: label,
confidence: node_color_scale(confidence)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment