Circle Made Out of Squares 🔴

Today I saw a neat way of drawing circles out of squares. Then one thing led another, and I've got a colorful animation built with D3.js demonstrating just that.

If you are curious how it was built and how the code works, I have left detailed comments in the code pen. You can also fork the pen to make your own alterations such as try out the animation with a different number of circles, zoom options, different delays and animation speeds and so on. Have fun!

See the Pen Circle out of squares with D3.js by Karolis (@karolis) on CodePen.