Decision Tree
Three-level decision tree with leaf outcomes.
Rendering…
Make it your own.
{
"nodes": [
{ "id":"r","type":"diamond","label":"Income > 80k?","x":420,"y":40,"fill":"#fef3c7","stroke":"#a16207" },
{ "id":"y1","type":"diamond","label":"Credit > 700?","x":220,"y":180,"fill":"#fef3c7","stroke":"#a16207" },
{ "id":"y2","type":"diamond","label":"Debt < 30%?","x":620,"y":180,"fill":"#fef3c7","stroke":"#a16207" },
{ "id":"a1","type":"ellipse","label":"Approve","x":40,"y":320,"fill":"#dcfce7","stroke":"#15803d" },
{ "id":"a2","type":"ellipse","label":"Review","x":230,"y":320,"fill":"#fef3c7","stroke":"#a16207" },
{ "id":"a3","type":"ellipse","label":"Conditional","x":520,"y":320,"fill":"#fed7aa","stroke":"#c2410c" },
{ "id":"a4","type":"ellipse","label":"Decline","x":720,"y":320,"fill":"#fee2e2","stroke":"#b91c1c" }
],
"edges": [
{ "id":"e1","source":"r","target":"y1","label":"no" },
{ "id":"e2","source":"r","target":"y2","label":"yes" },
{ "id":"e3","source":"y1","target":"a1","label":"yes" },
{ "id":"e4","source":"y1","target":"a2","label":"no" },
{ "id":"e5","source":"y2","target":"a3","label":"yes" },
{ "id":"e6","source":"y2","target":"a4","label":"no" }
]
}