Skip to main content
100%

Chapter 3 - D3 - opcion range

✓ Published1🌍 Public
SSergio
Last edited Sep 3, 2025
Created on Sep 3, 2025
Forked from Chapter 3 - D3

A wall of alternating horizontal and vertical striped rectangles is clipped by two circular masks, creating an interplay of opaque and transparent regions. Rendered as an SVG using Vue and D3 v6, the visualization uses `d3.range` to generate 100 equally spaced values for positioning the bars. Two masks are defined: one with a black background and white circle to show the bars only inside the circle, and another with the inverse to hide them there. The code leverages D3's `select` and `append` methods to construct the SVG and mask elements.

AI-generated description
MIT Licensed

Similar vizzes