Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
Bbobi0017
Last edited Jul 4, 2019
Created on Jul 4, 2019
Forked from HTML Cars Report

This example demonstrates how to create basic geometric shapes—circles, rectangles, lines, and paths—using SVG and CSS styling. It shows various fill colors, stroke properties, and grouped transformations like scaling and translation to position shapes across the canvas. The visualization uses raw SVG elements within an HTML file, with a linked stylesheet providing additional styling rules for line elements. The code includes D3.js imports but primarily relies on native SVG markup to render the shapes, with CSS classes and attributes controlling appearance.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes