Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG fundamentals

Public visualization

Viewing a saved revision (read-only)

71d265b1cda8481da1f22fdb3c2e1b3a

SVG fundamentals

0 stars0🌍 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.