Skip to main content
100%

test

✓ Published0🌍 Public
AAnimesh Nautiyal
Last edited Feb 4, 2020
Created on Feb 3, 2020
Forked from HTML Starter

This example demonstrates a static SVG rectangle that animates its width in response to a button click. The visualization uses D3.js to select the HTML body element, create an SVG container, and draw a rectangle. When the button triggers the `trigger()` function, the rectangle transitions its `width` attribute from 50 to 400 over a duration of 2000 milliseconds with a 100-millisecond delay, before being removed from the scene. The page relies on inline JavaScript and D3’s selection and transition APIs.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes