Skip to main content
100%

FLAGS!!!

✓ Published0🌍 Public
Aalexhoke
Last edited Jan 25, 2018
Created on Jan 25, 2018

This example draws three national flags—France, Japan, and the Bahamas—using basic SVG shapes in D3 v4. It shows each flag as a simple geometric composition of rectangles, circles, and polygons, positioned manually on a 1000-by-1000 canvas. The code appends SVG elements via `d3.select` and sets attributes like `x`, `y`, `width`, `height`, `fill`, and `stroke` directly, with no data binding or interaction. The flags are static, hard-coded renderings that demonstrate fundamental D3 SVG drawing without scales or axes.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/alexhoke/'>alexhoke</a>'s block: <a href='http://bl.ocks.org/alexhoke/a82cdd45dd783446ed183b8fea4a7540'>heeeyyy</a>

mit-cmu Licensed

Similar vizzes