score:0

Accepted answer

change your dataset variable and colours here, just pre-populate your required arrays and inject them into d3. i.e. d3.values(dataset)

var dataset = {
  weeks: [5,10]
};

var color = d3.scale.ordinal().range(['#ccc','#c33']);

Related Query

More Query from same tag