Skip to main content
100%

french flag

✓ Published0🌍 Public
BBrieLewis
Last edited May 1, 2017
Created on May 1, 2017

This example draws the French flag as three vertical SVG rectangles with the national colors: blue, white, and red. Each rectangle is 100 pixels wide and 200 pixels tall, appended directly to an SVG canvas using D3 v4’s `svg.append` and `.attr` methods. The code uses `d3.select` to create the SVG container, with the rectangles’ positions and fill colors set explicitly. The visualization demonstrates a simple, static rendering of a flag without data or interactivity, built from hard-coded dimensions and color values.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes