如果elasticY(true)使得散點圖能夠在重繪事件觸發時重新計算y軸範圍? 我已經使用了Scatter Brushing示例來演示。以下屬性添加到各圖表: .yAxisPadding('5%') // Allow the max values to be brushed
.elasticY(true) // Allow the chart to recalculate the Y axi
我是D3新手,在圖形上需要一些幫助。 我想從一個數據傳遞到另一個在同一個CSV文件中,但我不能在d3.pie()上做一個轉換,我只需要從d.A2008轉到d.A2015,但是每次它都會出現問題。 我的代碼: var width = 600;
var height = 400;
var radius = 200;
var canvas = d3.select("body").append("