Skip to main content
100%

d3 mapping

✓ Published0🌍 Public
Aanatolyg
Last edited Oct 26, 2015
Created on Oct 26, 2015

A rectangle centered in an SVG canvas animates its fill color from dark red to light blue over three seconds, demonstrating a simple transition with a bounce easing. The example uses D3.js version 3.5.5, applying a `transition().duration(3000).ease("bounce")` to a `rect` element with explicit `x`, `y`, `width`, and `height` attributes. The SVG is sized to 960 by 500 pixels with margins, and the code runs directly in the browser, logging a confirmation message to the console. No external data source is involved; the visualization relies solely on hardcoded geometry and styling.

AI-generated description

Built with blockbuilder.org

Similar vizzes