d3.scaleBand. Band scales are convenient for charts with an ordinal or ... you need to set paddingInner to 1, so that the bandwidth is equal to 0, check d3.
確定! 回上一頁