Skip to main content
100%

Euclid algorithm

✓ Published0🌍 Public
NNita
Last edited Dec 31, 2022
Created on Dec 31, 2022
Forked from D3 Starter

This example demonstrates the Euclidean algorithm by computing the greatest common divisor of two numbers and displaying the result in the browser console. The visualization renders three circles in an SVG using D3 v7, with the `select` API from the d3 module to append SVG elements. The circles are bound to a static array of values, positioned horizontally with fixed radii, while the algorithm’s output is logged rather than visualized directly on the page. The page uses simple HTML and CSS for layout, with no interactive elements present.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes