Skip to main content
100%

SVG and CSS Shapes

✓ Published2🌍 Public
JJSR2000
Last edited Aug 14, 2019
Created on Aug 14, 2019
Forked from SVG and CSS Shapes

This example demonstrates basic SVG shapes—circles, rectangles, lines, and a path—arranged in a grouped composition. It shows how CSS classes style SVG elements, applying stroke and fill properties to specific groups. The visualization uses D3.js imports (`select` from D3) to set text content, though the primary rendering is static SVG markup. The code also illustrates nested `<g>` transforms, scaling the entire scene, and using CSS rules like `.lines path` to override stroke colors and line joins.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes