Built with blockbuilder.org
xxxxxxxxxx
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
<style>
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; }
svg { width:100%; height: 100% }
</style>
</head>
<body>
<script>
var canvas = d3.select("body")
.append("svg")
.attr("x", 500)
.attr("y", 500)
.append("g")
.attr("stroke", "white");
var blue = canvas.append("rect")
.attr("fill", " #0055A4")
.attr("width", 300)
.attr("height", 600)
.attr("x", 50)
.attr("y", 50);
var white = canvas.append("rect")
.attr("fill", " #FFFFFF")
.attr("width", 300)
.attr("height", 600)
.attr("x", 350)
.attr("y", 50);
var red = canvas.append("rect")
.attr("fill", " #EF4135")
.attr("width", 300)
.attr("height", 600)
.attr("x", 650)
.attr("y", 50);
</script>
</body>
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js