Skip to main content
100%

Play with SVG and CSS

✓ Published1🌍 Public
GGordon Yang
Last edited Jan 10, 2021
Created on Jan 10, 2021
Forked from D3 Starter

A static SVG composition demonstrates primitive shapes and CSS styling within a D3 version 6 setup. The example shows circles, rectangles, lines, and a path grouped and transformed via SVG attributes, including scaling and translation. CSS classes apply stroke properties to line elements and redefine the path’s stroke color. The page uses `d3.select` from the D3 library to replace the body text with “Hello D3 version 6,” while the HTML structure and stylesheet handle all visual rendering without interactive behavior.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes