Here's my code:
var color = d3.scaleLinear()
.domain([0, 10000])
.interpolate(d3.interpolateBlues);
console.log(color(5000));
Instead of telling me that 5000 corresponds to a light blue, I get the error "r0 is not a function". What am I doing wrong?