Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
FFridayk7
Last edited Jul 2, 2020
Created on Jul 2, 2020
Forked from HTML Starter

A minimal example demonstrates how SVG shapes can be positioned using CSS, showing a single red circle rendered on a 960 by 500 canvas. The code uses D3 v5's `select` and `append` APIs to create the circle element and set its radius and coordinates, while a linked stylesheet applies basic styling. The circle is centered at roughly the midpoint of the canvas, illustrating basic SVG placement with D3 and CSS integration.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes