Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Co2

Public visualization

Viewing a saved revision (read-only)

d2f281b786ba42abb94c0b21f4b870b5

Co2

0 stars0🌍 Public
JJZHAILOL
Last edited Jun 19, 2020
Created on Jun 19, 2020
Forked from HTML Starter

This example shows a single circle centered within an SVG canvas that measures 960 by 500 pixels, with its radius set to half the canvas height. The visualization demonstrates basic SVG shape creation using D3 v5’s selection and append methods, where the circle’s position and size are derived from the SVG’s width and height attributes. The code uses `select` from D3 to access the SVG element and `attr` to set the circle’s radius (`r`) and center coordinates (`cx`, `cy`), with the data source being the hardcoded SVG dimensions rather than an external dataset.

AI-generated description

A bare minimum HTML page.

See also React Starter.