Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Shapes with SVG and CSS

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed