Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Fundamentals

Public visualization

Viewing a saved revision (read-only)

18b85c2b2c4b464bb81ea8184abf460e

SVG Fundamentals

0 stars0🌍 Public
CCamille G Lee
Last edited Oct 26, 2023
Created on Oct 26, 2023
Forked from D3 Starter

This example demonstrates SVG fundamentals by rendering primitive shapes—circles, rectangles, lines, and paths—directly in an HTML document. It highlights how SVG z-ordering depends on code order, with later elements drawn on top. The visualization uses raw SVG markup without D3, while the companion `index-d3.html` and `index.js` files show a D3 v7 starter template that uses `select` to insert text. The SVG includes attributes like `fill`, `stroke`, and `stroke-width`, and even shows a path drawn with `M` and `L` commands.

AI-generated description

A demonstration of how to start using D3 version 6.