Skip to main content
100%

fresh block

✓ Published0🌍 Public
IIgathi
Last edited Aug 2, 2019
Created on Aug 2, 2019

This example visualizes a small set of six rectangles, each positioned and sized by explicit x/y coordinates and width/height values, with colors assigned individually. It shows the spatial arrangement of these shapes on an SVG canvas, computed by finding the maximum extents of all rectangles to set the canvas size. The code uses D3 v3 to bind the JSON data to `rect` elements, setting position and size attributes, while also appending a canvas element to the body. The data source is inline in the script, and the rendering relies on standard SVG attributes.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes