Skip to main content
100%

D3 SVG

✓ Published0🌍 Public
MMohd Sameer
Last edited Nov 6, 2023
Created on Nov 6, 2023
Forked from HTML Starter

This example demonstrates basic SVG shapes rendered with D3.js, showing how static geometric elements can be drawn directly in a web page. It displays a blue circle and a rectangular outline with a stroke, positioned at fixed coordinates within an SVG canvas of 500 by 960 pixels. The code uses the D3.js library to construct the SVG container and its child elements, with circle and rect tags defining the visual properties. The rendering approach relies on D3’s SVG manipulation capabilities, though no data binding or dynamic updates occur, as the shapes are hardcoded in the HTML structure.

AI-generated description

DATA VISUALIZATION WITH D3.

MIT Licensed

Similar vizzes