Tree Example
This interactive decision tree visualizes a CEO’s product-choice options with expandable and collapsible nodes. The tree renders as an SVG using d3.layout.tree and d3.svg.diagonal for curved links, with node clicks toggling child visibility via a 750ms transition. Data is embedded as a JavaScript object with named children, including probability labels and monetary outcomes. Each node is a circle with text, styled via CSS classes, and updating uses d3’s data join to animate entering and exiting branches.
AI-generated descriptionThis is an interactive decision tree for IEOR 241 Problem Set 4, Item 1 (Fall 2016).
Click on the nodes to expand or collapse.
forked from <a href='http://bl.ocks.org/d3noob/'>d3noob</a>'s block: <a href='http://bl.ocks.org/d3noob/8375092'>Interactive d3.js tree diagram</a>
forked from <a href='http://bl.ocks.org/aldrejota/'>aldrejota</a>'s block: <a href='http://bl.ocks.org/aldrejota/5134ffe02cd512940bb3b9e300c28acb'>IEOR 241 PS4-1 Decision Tree</a>