如何在d3中绘制带有序数比例和一些相同域数据的折线图?这是示例演示http://jsfiddle.net/dfang/CPZzV/
这是数据
var scores = [
{"score":630,"date":"2012-12-22"},
{"score":680,"date":"2012-12-22"},
{"score":680,"date":"2012-12-22"},
{"score":680,"date":"2012-12-23"},
{"score":1770,"date":"2012-12-24"}
];
然而图表不是我想要的,x轴上的刻度是重叠的,我想x轴是“2012-12-22”,“2012-12-22”,“2012-12-22”。
谢谢!任何帮助将不胜感激!