Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

q1

Public visualization

Viewing a saved revision (read-only)

22c61dff19274319b6bfab1cfe0df58d

q1

0 stars0🌍 Public
Vvaishnavgck@gmail.com
Last edited Apr 9, 2025
Created on Apr 9, 2025

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 description