US flag factorization diagrams

US flag factorization diagrams

. lecture : 3 minutes

I got bored.

Le drapeau des états-unis, où les étoiles ont été placées par un algorithme.

That's what happens when I stumble upon factorisation diagrams (, while wanting to try the javascript library D3.js.

If it works, you should see a series of flags similar to the one above. (javascript needs to be enabled in your browser).

Loading. Javascript needs to be enabled in your browser.

Based on © Jason Davies 2012, and on…/And-Now-an-SVG-American-Flag-with-D3.aspx © Larry Spencer 2012.

If you look at this page's source code, please be kind. I did that in a hurry and I'm just starting to use D3.js :))