SVG.js test
by DOK_UA
HTML
<body>
</body>
CSS
svg {
background-color: gray;
}
JavaScript
// initialize SVG.js
var draw = SVG().addTo('body')
// draw pink square
var countOfCell = 3;
var cell = countOfCell-1;
var f = [];
var i;
for (i = 0; i < countOfCell; i++) {
var dim= 10*i;
draw.rect(10, 10).move(dim, dim).fill('blue');
}