q1
✓ Published0🌍 Public
This example shows a compact vertical tree layout that organizes diabetes patient data by outcome, age range, BMI, and glucose level. The tree uses `d3.tree()` with a layout size tailored to an SVG canvas, where links are drawn with `d3.linkVertical()`. Nodes are rendered as circles colored by parent/leaf status, with text labels offset to the right. The visualization relies on D3 v7 to parse a nested JavaScript object and position nodes horizontally across the 1200×400 viewport, providing a condensed overview of attribute combinations in the dataset.
AI-generated descriptionMIT Licensed