Skip to main content
100%

D3 testing

✓ Published0🌍 Public
Mmarissaverdonck
Last edited Nov 12, 2019
Created on Nov 11, 2019

A collection of hand-drawn SVG shapes and paths demonstrates how to style vector graphics with D3 v5. The example renders a static composition of lines and curved paths on a 960×500 SVG canvas, using the `select` method to target the SVG element. CSS classes define stroke properties, including color, width, and round line caps and joins, while the `overflow: hidden` body style trims the viewport. The code focuses on basic SVG styling and selection patterns rather than data binding or dynamic updates.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes