Skip to main content
100%

French Flag

✓ Published0🌍 Public
CCodincamper
Last edited Jul 26, 2017
Created on Jul 26, 2017

This example draws the French flag as three vertical rectangles, each with a solid color: blue, white, and red. The visualization uses D3 v4 to append three `rect` elements to an SVG canvas, setting explicit `x`, `y`, `width`, and `height` attributes to position the stripes side by side. No data is loaded; the rectangles are hardcoded, and the flag occupies the top 300 pixels of a 960 by 500 pixel viewport. The code demonstrates basic SVG shape creation with D3’s selection and append methods.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/3176a049b5947245310986b144a0dd09'>French Flag</a>

forked from <a href='http://bl.ocks.org/Codincamper/'>Codincamper</a>'s block: <a href='http://bl.ocks.org/Codincamper/a933f53613261dab46d1c2a31bcba0fc'>French Flag</a>

mit Licensed

Similar vizzes