{"version":"1.0","type":"rich","title":"Patient Flow Sankey Diagram","description":"This example shows patient flow through seven stages—Assignment, Admission, Transfer, Diagnose, Treatment, Recovery, and Discharge—using a Sankey diagram where link thickness encodes patient counts and loops indicate return paths. The code builds the diagram with the D3 v7 `d3.sankey()` layout and `d3.sankeyLinkHorizontal()` for curved links, rendering nodes as blue SVG rectangles with labels. Data is hardcoded as a JavaScript object, and the visualization updates interactively through D3’s data joins, with hover tooltips via `<title>` elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/78a453c33bd14f29bec6be4d01ba9ff7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}