生成弧度后 再使用 d3.arc() 来进行绘制 path
const arc = d3.arc()
.innerRadius(0)
.outerRadius(Math.min(innerWidth...60, bottom: 30, left: 60 }
const innerHeight = height - margin.top - margin.bottom
const innerWidth...return {
svg,
width,
height,
margin,
innerHeight,
innerWidth...' }
]
const {
svg,
width,
height,
margin,
innerHeight,
innerWidth...margin.left},${margin.top})`)
const arc = d3.arc()
.innerRadius(0)
.outerRadius(Math.min(innerWidth