Svg's text has a font-size attribute <text x="5" y="25" fill="red" font-size="30">A</text>. Set with d3.v4.js. svg.append("text") .attr("y", 25).
確定! 回上一頁