📅  最后修改于: 2022-03-11 14:56:57.286000             🧑  作者: Mango
svg.append("g")
.attr("transform", "translate(0, "+y(yPos)+")")
.append("line")
.attr("x2", width)
.style("stroke", "#2ecc71")
.style("stroke-width", "5px")