Skip to main content
100%

Untitled

✓ Published0🌍 Public
SSagar Malviya
Last edited Jun 3, 2019
Created on Jun 3, 2019
Forked from Hello VizHub

This example renders a single red square with a black border onto a 300-by-300 SVG canvas. It uses D3 version 5’s `selectAll` and `append` to create the `rect` element, setting its position, size, stroke, and fill through chained attribute assignments. The page also loads D3 from a CDN, includes a separate bundle.js, and demonstrates basic SVG manipulation without any external data source.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes