🌍 Public
Viewing a saved revision (read-only)
62bb5248be4846f0a5dfcc0f711506ce
Tests
This example tests a radial family tree visualization built with D3 v5, rendering individuals as colored arc segments arranged by generation. Each person’s arc spans from birth to death year, with color gradients indicating paternal and maternal lineage, and labels placed along the arcs. The code imports helper functions like `findGeneration` and `calcArcAngles` to compute positions, and uses SVG paths and gradients for rendering.
AI-generated descriptionSome tests to render a family tree