Skip to main content
100%

Tree

✓ Published0🌍 Public
66264kusuma@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from HTML Starter

This interactive tree visualization displays the hierarchical relationships within Hospital ER data, using a radial layout to reveal parent-child connections. Built with D3.js v7 and React, it renders nodes as colored rectangles and circles, with each node’s size and color varying by depth. The code loads a remote CSV, stratifies it into a tree using `d3.stratify()`, positions nodes via `d3.tree()`, and draws links with `d3.linkVertical()`. Node coordinates come from the tree layout, with labels showing ER names.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes