Skip to main content
100%

fresh block

✓ Published0🌍 Public
AAkriti97
Last edited Jun 11, 2018
Created on Jun 11, 2018

This example shows a single empty circle centered within a square SVG canvas, drawn with a thick black outline. The visualization uses D3.js version 3 to append an SVG container, then a group element translated to the center, and finally a circle with a fixed radius calculated from the chart's dimensions. The circle is styled with a custom CSS class named `ring` that sets the fill to none and stroke to black. The code calculates the radius by subtracting margins from the total height, and positions the circle via the `translate` attribute on the group element.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes