d3.format("~%")(0.010) // "1%". To have rounded percentages, we need to .0% , .1% , .2% , etc, depending on how many numbers do you want ...
確定! 回上一頁