Skip to main content
100%

First D3 try

✓ Published0🌍 Public
RRambo-chan
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from HTML Starter

A single red circle is drawn at the center of a 960 by 500 pixel SVG canvas, with its radius set to half the canvas height. The example demonstrates a minimal first use of D3 v5 within a React framework, where the `d3.select` function targets the SVG element and `.attr` sets the circle’s radius, x-coordinate, and y-coordinate. The code uses the D3 `append` method to create the SVG circle, rendering directly to the SVG output.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes