Skip to content

Instantly share code, notes, and snippets.

Last active Oct 18, 2017
What would you like to do?
import * as d3 from "d3";
let node_color_scale = d3.scaleLinear()
.domain([0, 0.5, 1])
.range([d3.rgb("#96f788"), d3.rgb('#f9f370'), d3.rgb('#f27676')]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment