arc() 来进行绘制 path
const arc = d3.arc()
.innerRadius(0)
.outerRadius(Math.min(innerWidth, innerHeight...= svg.attr('height')
const margin = { top: 30, right: 60, bottom: 30, left: 60 }
const innerHeight...}
}
return {
svg,
width,
height,
margin,
innerHeight...value: 300, name: '视频广告' }
]
const {
svg,
width,
height,
margin,
innerHeight...margin.top})`)
const arc = d3.arc()
.innerRadius(0)
.outerRadius(Math.min(innerWidth, innerHeight