Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Quyt-Study

Public visualization

Viewing a saved revision (read-only)

6dc5ee2178e84f50b8905d83ed5ac9b1

Quyt-Study

0 stars0🌍 Public
Ttrongan765@gmail.com
Last edited Jan 20, 2024
Created on Jan 20, 2024
Forked from HTML Starter

This example displays a centered cyan circle on a full-screen SVG. It demonstrates the minimal setup for a D3 visualization within a React environment, using `d3.select` to append the `<svg>` element and then attaching the circle with `svg.append`. The circle’s position is set to the center of the viewport using `innerWidth` and `innerHeight`, and its fill is specified via the `attr` method. The code relies on the D3 library (version 7.8.5) and the `select` API, with the rendering handled entirely by SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.