Creating a Graph visualization

You can add a Graph visualization to a Visual Insight (VI) dashboard, to allow analysts to quickly explore data in a polished graphical display. You can choose from a variety of graph styles to use to display the data, such as the vertical area graph, bubble graph, pie graph, and so on.

You can create a Graph visualization and have the application add data to the visualization for you. For steps, see About visualizations. For steps to create a Graph visualization, then pick and choose the data to display, see the appropriate link below:

The Graph visualization is a powerful, interactive visualization that allows you to display your data using a variety of graph styles, such as the line graph, bubble graph, or grid, then customize it to suit users' needs. For example, you can:

An example of a Graph visualization is displayed in the image below. The data in the visualization is shown as a series of bar graphs, with a separate bar riser displayed for each Call Center. The bar riser for each Call Center is displayed in a different color. Finally, the data is sliced to display a separate graph for the revenue and profit data for each product category by quarter.

 

Example of a Graph visualization

 

To design a Graph visualization, you should perform the following basic steps. These are included in the steps to create a Graph visualization below.

Displaying metric data in a visualization using the Metric Names object

The Metric Names object is an attribute that contains the names of the metrics in a visualization. You can determine how to display these metrics by placing the Metric Names object on the appropriate area of the Graph panel. For example, you can add the Metric Names object to the Break By area of a line graph to display a separate line for each metric in the graph. The Metric Names object can be placed on any area that accepts attributes.

The Metric Names object is automatically added to the Graph panel when you add metrics to the visualization. You can then choose how to display the metrics by placing the Metric Names object on one of the following areas:

You can also color graph items based on the metrics that they represent, by clicking and dragging the Metric Names object from any of the above areas to the Color By area. For example, in an area graph containing the Profit per Employee, Revenue per Employee, and Cost per Employee metrics, you can display each metric using a different colored area.

In a pie or ring graph, if you have placed at least two metrics in the Angle area and there are no metrics in the Horizontal Axis area or Vertical Axis area, the Metric Names object controls the location in which the names of the metrics in the Angle area are displayed. If you have placed metrics on the Horizontal Axis area or the Vertical Axis area, or for all other types of graphs other than dual axis and combination graphs, the Metric Names object controls the display of the metrics in the Horizontal Axis area or Vertical Axis area.

For example, in the image below, a visualization containing pie graphs is displayed. The Profit and Profit Per Employee metrics are placed on the Angle area, and no metrics have been placed on the Vertical Axis or Horizontal Axis areas. The Metric Names object, which controls the display of Profit and Profit per Employee, is placed on the Horizontal Axis area. As a result, separate columns of pie graphs for Profit and Profit Per Employee are displayed in the visualization.

 

Example of a pie graphs with Profit and Profit Per Employee displayed in the columns

 

Because the Horizontal Axis area contains only attributes (in this case, the Metric Names object), you can determine whether to use the metrics to slice data into columns of graphs, or display values along the X-axis. In the image above, note the arrow icon displayed in the Horizontal Axis area, which is placed below the Metric Names object. In the image below, the arrow is placed above the Metric Names object. As a result, the graphs are no longer divided into columns for Profit and Profit Per Employee. Instead, Profit and Profit Per Employee are displayed along the X-axis.

 

Example of a pie graphs with Profit and Profit Per Employee displayed on the X-axis

Prerequisite

To create and add a Graph visualization to a Visual Insight dashboard:

  1. Click the name of the VI dashboard to run it.

  2. From the toolbar, click the arrow to the right of the Add Visualization icon Image of the arrow icon to the right of the Insert Visualization icon, then select Graph. A blank visualization is added to the dashboard and displayed with an icon representing the visualization's type.

  3. To add data to the visualization, from the Dataset Objects panel, click and drag attributes or metrics to the Graph panel, as described in the steps below. If the Dataset Objects panel is not displayed, from the Show menu, select Dataset Objects.

  4. To display values along the X-axis and Y-axis of the graph, perform the following steps:

    1. To display data on the X-axis of the graph, place report objects on the Horizontal Axis area, as follows:

      • To display attribute elements on the X-axis, place at least one attribute on the Horizontal Axis area.

      • To display metric values on the X-axis, place at least one metric on the Horizontal Axis area.

    2. To display data on the Y-axis of the graph, place report objects on the Vertical Axis area, as follows:

      • To display attribute elements on the Y-axis, place at least one attribute on the Vertical Axis area.

      • To display metric values on the Y-axis, place at least one metric on the Vertical Axis area.

    3. If the Horizontal Axis area contains only attributes, an arrow icon is displayed in the list of attributes. All attributes displayed below the arrow icon are shown in the X-axis of the graph. Click and drag the arrow icon to place the arrow above all report objects in the Horizontal Axis area. Repeat this step for the Vertical Axis area.

  5. To color the items in the graph based on attributes or metrics, place report objects on the Color By area, as follows:

  6. To display a separate graph item for each element in an attribute, place at least one attribute in the Break By area. For example, you can display the revenue data for each Region as a separate line graph, or display a bar riser for each year of data. If you add more than one attribute to the Break By area, a graph element is displayed for each combination of the attribute elements.

  7. To have the graph items automatically sized based on the value of a metric, place one metric in the Size By area. Graph items corresponding to large metric values are automatically displayed as larger in size, while graph elements for small metric values are displayed as smaller in size. For example, in a line graph, lines representing larger metric values are displayed as thicker than lines representing smaller metric values.

  8. Once you have added data to the visualization, you can choose to slice the data into rows and columns of separate graphs, based on attributes. If you slice the data into both rows and columns, a table of graphs is displayed, with a graph for each combination of the attribute elements. Choose from the following:

  9. To display additional metrics in a tooltip when a user hovers the cursor over a graph element, place the metrics you want to display on the Tooltip area.

  10. You can define other options, such as whether graph items are displayed as squares, lines, or circles, or whether the areas in an area graph are displayed as absolute or stacked. For steps, see Formatting a Graph visualization.

  11. To save the VI dashboard, click the Save icon .

Related topics

About visualizations

Creating a Graph visualization with a dual-axis or combination graph

Creating a Graph visualization with pie or ring graphs

Creating a Visual Insight dashboard

Formatting a Graph visualization

 

 

_____________________________