block by lelandlee c460fd0f3d53212a63c1

donut-art

Full Screen

#Art Maybe? To create this ‘visualisation’ I started with a donut chart, where that outerRadius’s would not be consistant. Meaning that they had different values as seen in the foreground. From there, using the angle of the bar relative to the x-axis and the length of the outer radius, I calculated the x and y coordinates of bar’s end. Which was then used to create an svg line.

index.html

main_donut.js

style.css