Skip to main content
100%

SVG fundamentals

✓ Published0🌍 Public
Hharikishan8891
Last edited Mar 18, 2023
Created on Mar 18, 2023
Forked from D3 Starter

This example demonstrates fundamental SVG shapes drawn directly in an HTML document, including circles, rectangles, lines, and paths. The SVG canvas is fixed at 800 by 800 pixels, with shapes positioned using explicit coordinates and styled with attributes like fill, stroke, and stroke-width. The code also includes `index.js`, which imports the `select` function from D3 version 7 and sets the body text to "Hello D3 version 7", showing a minimal D3 integration alongside static SVG markup. The visual output is purely static, with no interaction or dynamic data binding.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes