Tree chart

    A tree chart displays hierarchy data as a set of nested rectangles.

    Each hierarchy level corresponds to a dimension displayed as a colored rectangle with nested rectangles. The size of each rectangle depends on the measure value: the higher the value, the larger the size.

    tree_chart

    For example, you can use a tree chart to visually represent sales by product category and subcategory.

    1. Open the All workbooks overview page and select your workbook.

    2. Open the dashboard to which you want to add a chart.

    3. In the upper-right corner, click Edit.

    4. Click AddChart (Wizard). You'll see the chart creation wizard.

    5. On the top left, select the Dataset you want to visualize.

    6. Click the chart type field on the right of the dataset section and select Tree chart from the drop-down menu.

    7. Drag and drop Measures and Dimensions to the appropriate sections of the chart (see the Data fields tab).

      Your chart creation wizard should look similar to the following:

      tree_chart-wizard

    8. Click Save in the upper-right corner of the page.

    9. Name your chart and click Done.

    10. Choose the appropriate location for your chart by dragging it around the dashboard and resize it by dragging the lower-right corner of its frame.

    11. Click Save in the upper-right corner of the page.

    Wizard slot Description
    Dimensions Dimension. Multiple-field slot. Determines the hierarchy tree of nested rectangles.
    Size Measure. Single-sield slot. Determines the sizes of the rectangles.
    Colors Dimension or Measure Names. Affects rectangle colors.
    You can add a Measure Names or Measure Values field to this slot.
    Chart filters Dimension or Measure. Used to filter values. You can add a Measure Names or Measure Values field to this slot.

    To open chart settings, click to the right of the chart type above the wizard slot fields. You'll see a dialog window with the following controls:

    Control Default state Description
    Header Off Displays the specified text in the centered line above the chart.

    After managing the controls, click Apply to see the results on the chart preview.

    To open slot settings, click in a row with the slot name.

    Color:

    On the left, you can select a line from a data source in the Colors slot of your chart.

    On the right, you can select a color scheme and a color for the line. Select AUTO to let Visualization do the coloring for you.

    • If you want to display fewer than 6 categories in a single chart, we recommend using a pie chart or a donut chart.

    • This chart type can't display NULL or negative values.