Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
Aayo
Last edited Jun 7, 2023
Created on Jun 7, 2023
Forked from D3 Starter

This example demonstrates the basics of SVG shape styling and interaction, using a single red circle with a thick black stroke on a plain background. Hovering over the circle triggers a CSS transition that gradually changes its fill to green and expands its stroke width over three seconds. The implementation relies on inline SVG elements within an HTML page, styled entirely through CSS, while the accompanying JavaScript uses `select` from D3 version 7 to replace the body's text content, showing a minimal D3 setup.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes