Please enable JS

Build Bubble Charts

July 10, 2019

Prolaborate provides a powerful yet intuitive tool to build Bubble charts based on Enterprise Architecture data in minutes.

These three-dimensional Bubble charts help you visualize complex data as a simple visualization.

Here we are plotting the Strategic Importance vs the complexity of the applications. Cost of each application is represented as the size of the bubble.

We can easily identify the best applications to renew are the ones at the bottom right quadrant.

Apps representing large bubbles in the top left quadrant needs to be reviewed seriously.

Note we will be looking only at the capabilities of chart widgets in this guide-; please refer to Dashboard Designer to learn about the general functionalities of the dashboard.

Build using Chart Designer

To create a Chart, click on Menu > Dashboards. Click on Add New to create a new dashboard or edit icon to edit a dashboard.

Click on Add Widget or Add icon on the bottom right to see the list of widgets. Click on EA Chart and then on Add New Widget.

Select Bubble and click on Designer.

Follow these steps to create a bubble chart:

  1. Choose the packages that contain the data for your chart i.e., the packages that has the EA objects which should be considered for the chart.
  2. Specify the Type or Stereotype to further filter the selection. Enable Fully Qualified Name to see full qualified names
  3. Choose basic attributes or tagged values based on which you want to plot the graph in X-axis and Y-axis
  4. You can also specify a property and the size of the bubble will be shown based on the same. It can either be based on
    1. Count of values returned by your specification
    2. Or on Sum of values of a property you specify

Sample Configuration and Result

Configuration:

Result:

Build using SQL Queries

When you are building advanced charts using SQL queries, Chart query is used to build the charts and Result query is used to show in-depth information on click.

Aliases that can be used in Bubble chart are xvalue and yvalue. The chart will be plotted based on these values in x-axis and y-axis.

For example, select object_type as xvalue, stereotype as yvalue from t_object. If these aliases are not used, just bubbles will be shown in the dashboard.

Optionally, you can use the alias “ChartValue” if you want to display an integer value from a tagged value instead of counts on bubbles.

To enable users to see in-depth information on click of a section of the chart, Aliases in Chart query need to be used in Result Query.

For example, if chart query is

select object_type as series from t_object

the respective result query will be

select name, object_type, stereotype where object_type = ‘<series>’

Additionally, you can use the following aliases in Result query:

a. Add alias “classguid” to the GUID - to see details of an item on click, For example: select name,ea_guid as classguid from t_object where object_type = ‘<series>’

b. Add aliases - Base Type and Stereotype to Type and Stereotype respectivelyto see appropriate EA icons, For example: select name, object_type as basetype, stereotype as stereotype from t_object where object_type = ‘<series>’ and stereotype= ‘<groupname>’

c. Prefix an alias with “hide_” to not see a column even when used in the query. For example, the following query will give the same result as above, but Base Type and Stereotype columns will not be shown in the result: select name, object_type as hide_basetype, stereotype as hide_stereotype from t_object where object_type = ‘<series>’ and stereotype= ‘<groupname>’

Sample Query and Result

Chart Query

select o.Name as Series, otv1.Value as xvalue, otv2.Value as yValue from ((
t_object o left join t_objectproperties otv1 on otv1.Object_ID = o.Object_ID) left
join t_objectproperties otv2 on otv2.Object_ID = o.Object_ID) where otv1.Property
= 'Strategic Importance' and otv2.Property = 'Cost'

Chart Shown in Dashboard

Result Query

select o.Name as Application, otv1.Value as StrategicImportance, otv2.Value as Cost from (( t_object o left join t_objectproperties otv1 on otv1.Object_ID = o.Object_ID) left join t_objectproperties otv2 on otv2.Object_ID = o.Object_ID) where otv1.Property = 'Strategic Importance' and otv2.Property = 'Cost' AND o.Name = '<series>'

Report shown when clicked on chart

Customization Options

The following settings are available:

  1. General

    • Legends position – You can position legend to place it on the Right or at the Bottom. You can change the options and check how they work by clicking on See Chart Preview.
    • Legend – Disable to hide the legend.
    • Color Range – Pick the color range that needs to be used while displaying the chart
    • Chart Data Color – Use this setting if you want to specify a particular color based on the data that will be showed in the dashboard

      For example, as per the configuration in the screenshot, the piece of pie which has “Data Management System” as the data will show up in red color in dashboard

  2. Bubble Settings

    • Bubble Text – Switch this off to hide the label shown on bubbles
    • Font Color, family, and size – Specify the font style for the label shown on bubbles using these settings
    • Position – Use this setting to control the position of labels
    • Minimum and maximum radius – Use these settings to make the differences in bubble size more pronounced. Applicable when you
    • Connectors on Hover – When enabled, connectors will be shown from bubbles to axes when you hover over a bubble
  3. Graph Settings

    • X-axis and Y-axis Label – Give a name to X-axis and Y-axis. These labels enhance readability of charts
    • Quadrants – When enabled, x and y-axis will be repositioned as shown in the sample above.
Any questions? Contact us