Just set color and size in the handlers: .on("mouseover", function(d) { d3.select(this).attr("r", 10).style("fill", "red"); }) .on("mouseout", function(d) ...
確定! 回上一頁