Hi,
I'm experimenting with the area shape, and I stumbled upon a behaviour I don't understand.
I specify my shape like so :
var dureeArea = d3.area().x(function(d,i){
return xScale(i);
})
.y0(function(d){return yScale(0);})
.y1(function(d){return yScale(d.value);});
I'm trying to plot a pretty large array of items sorted by "value", which is why I'm using their index for the x scale.