D3 makes this easy using a standard number format. For example, to create a function that zero-fills to four digits, say:.
確定! 回上一頁