g.append("g") .call(y_axis) .append("text") .text("price($)")
.attr("transform", "rotate(-90)") //文字逆時針旋轉90度
.attr("text-anchor", "end") //設置文字的對齊方式
.attr("dy", "1em") //設置偏移量