Opacity warna skala D3

var color = d3.scaleLinear()
  .domain([1,10])
  .range(["rgba(0,0,0,0)","rgba(0,0,0,1)"]);
Horrible Hummingbird