ICE 8
✓ Published0🌍 Public
This visualization uses a horizontal tree layout to display the hierarchical structure of a hospital's departmental referral network. The SVG rendering shows hospital departments as root nodes and individual patient referral records as leaf nodes, with the tree expanding from left to right. Built with D3.js v7, the code loads CSV data from a GitHub gist and uses the `d3.hierarchy` function to construct the tree data structure, then applies the `d3.tree()` layout algorithm to position nodes. The visualization employs `d3.linkHorizontal()` for curved link paths connecting parent and child nodes, with circular markers and text labels indicating each node's department name or individual record.
AI-generated descriptionMIT Licensed