Skip to main content
100%

Circular Layout (Recursive)

✓ Published0🌍 Public
Mmbostock
Last edited Feb 8, 2016
Created on Feb 27, 2011

A circular layout visualizes ten concentric rings, each divided into 90 wedge-shaped segments. The example derives these shapes recursively, with each ring’s path geometry generated from radial distances scaled from 180 to 240 pixels and angular slices of π/90 radians. Colors interpolate from brown to steelblue across the rings. The implementation uses D3 v3’s linear scales for radius and fill, and builds SVG paths via `d3.svg.arc` within nested `selectAll` and `enter` calls. The data is procedural, created with `d3.range(10)` for rings and angle increments.

AI-generated description
gpl-3.0 Licensed

Similar vizzes