Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
MMridul Dey
Last edited May 14, 2023
Created on May 14, 2023
Forked from D3 Starter

This example introduces the fundamentals of SVG shapes as a foundation for D3-based visualization work. It displays primitive geometric elements—two circles, a navy line, and a red path—positioned within a minimal SVG container in an HTML document. The code uses the SVG specification directly, including `<circle>`, `<line>`, and `<path>` elements, with attributes like `cx`, `cy`, `r`, and `d` to define geometry and styling. No dynamic data or JavaScript libraries are invoked; the visualization demonstrates static markup only, serving as a starting point for understanding how D3 version 6 generates and manipulates SVG output for charts.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes