Unleash your team's productivity by combining enterprise-class diagramming, whiteboarding, and data while saving 10x over Visio and Lucidchart!
SmartDraw's Decision Tree data visualizer allows you to generate a decision tree diagram using data.
Watch the video to see how you can use the decision tree data visualizer to create a decision tree diagram automatically from a data file.
Click the + icon to switch the SmartPanel into the Insert Content view.
Once on the Insert Content view, select the Add Data Visualizer section and click on Decision Tree.
Before you can generate a decision tree, you'll want to format your data in a format that SmartDraw can interpret.
SmartDraw will be able to understand CSV, XLS, or XLSX files.
Format your data so it contains the following columns in order: "ID", "Label", "ParentID". The ID is the unique number given to each decision you want to appear in your diagram. The label will be the name that appears inside a decision box. The "ParentID" tells SmartDraw what decisions are the children of other decisions.
In the simplest terms if you wanted to diagram a decision tree of "Should I go running" with two possible outcomes "Yes" and "No", you would give the question ID 0, "yes" ID 1, and "no" ID 2. In the spreadsheet, you'll want to mark the parent of both yes and no as "0" to indicate that they're the children of the parent question.
There are also optional items your decision tree can contain. These are "LineLabel", "Hyperlink", and "Description." LineLabels allow you to add text directly onto a line between decisions. A "Hyperlink" can be used to create a clickable link to supporting pages in Confluence or SharePoint for example. And lastly, the "Description" column can be used to add any detailed notes. The description won't appear in your final diagram.
After launching the visualizer, you can drag and drop your file or browse to locate your file on your computer.
Click Import to generate your diagram.
Now, you can edit your diagram like you would any other SmartDraw diagram. Add, remove or move shapes around. Change labels or colors. Or change the direction that your diagram flows.