enjalot / wwsd

working with spatial data - workshop materials
212 stars 32 forks source link

Rotate every arc of pie chart 180 (like sun) with D3 JS. How to calculate translate parameters. #19

Closed upans closed 8 years ago

upans commented 8 years ago

Hi, I am working on pie chart with d3 js. I want to rotate every arc of my pie chart 180. I know that I am unable to explain completely show here is my fiddle link https://jsfiddle.net/dsLonquL/. How can i get dynamic parameters for translate() function.

enjalot commented 8 years ago

Please ask questions like these on stackoverflow with the d3js tag or on the d3.js slack community. This has nothing to do with mapping or spatial data...

upans commented 8 years ago

Thanks enjalot