Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Starter

Public visualization

SVG Starter

0 stars1🌍 Public
AAndrew Smith
Last edited Feb 14, 2020
Created on Feb 13, 2020
Forked from HTML Starter

This example displays a single red circle rendered inside an SVG canvas. It serves as a minimal setup for SVG-based visualization, showing how a static shape can be styled directly using D3. The code uses D3 v5's selection and styling API (`d3.select` and `.style`) to apply the fill color, while the circle itself is defined in plain SVG markup within the `index.html` file. The page also imports a separate stylesheet for global typography and layout.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed