Skip to main content
100%

fresh block

✓ Published0🌍 Public
BBrunoDumas
Last edited May 31, 2018
Created on May 31, 2018

This example shows four red circles of increasing size arranged diagonally on a blank SVG canvas. Each circle is scaled by a data value from the array [0.25, 0.5, 0.75, 1] using a translate and scale transform, producing a stepped progression. Built with D3 v4, the code uses `d3.select` to create the SVG, appends a base circle, then selects all circles with class "red" and applies the data-driven transforms. The data source is a simple inline array, with the rendering handled entirely through SVG attributes.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes