Skip to content

Scatter Chart

Scatter Charts are used to compare two variables within a set of data (for example, comparing body weight to the # of days the subject exercises 30+ minutes).

To create your Scatter Chart:

  1. If you are not already in Edit Layout mode, enter it by clicking the Edit Layout icon in the blue header.
  2. Click the Add Module button at the bottom right of the screen.
  3. Select Scatter Chart.
  4. In the window that opens, three tabs are available to customize your Scatter Chart: General, Style, and Advanced.

    Insights Scatter

    The settings we used in our module to build the above Scatter Chart will be noted in parentheses next to each setting below.

General

Title - Name your Scatter Cart. This will be at the top of the module (for instance,Current Weight vs. # Days Workout 30min+).

X-Axis

  • Label - Give your x-axis a descriptive label

  • Aggregation Resource - (such as Observations) Patients, Observations, Conditions, Procedures, or Medications

    • An Aggregation Resource of Patients will present you with two dropdowns to further filter your results:

      1. Aggregation Property - Age, Gender, Race, Ethnicity, or Patient

      2. Aggregation Function - Count is the only available option

    • An Aggregation Resource of Observations, Conditions, Procedures, or Medications will present you with the following:

      1. Aggregation Filter Code - (for instance, What is your current weight?) Only one selection allowed. Type the medical code or a letter in the search box to search for the available filter codes.

      2. Aggregation Property correlates with your filter code - (such as Value Quantity) Value Quantity, Value String, Observation, or Patient

      3. Aggregation Function - (such as Average) Standard Deviation, Average, Count, Minimum, Maximum, First Quartile, Second Quartile,Median, or Third Quartile

    • X Axis Sort Order - Ascending or Descending

Y-Axis

While the options for the Y-Axis are the same as the X-Axis, your selections for the Y-Axis should differ from the X-Axis because Scatter Charts compare two variables in a set of data.

Aggregation Resource - (such as Observations) Patients, Observations, Conditions, Procedures, or Medications

  • An Aggregation Resource of Patients will present you with two dropdowns to further filter your results:

    1. Aggregation Property - Age, Gender, Race, Ethnicity, or Patient

    2. Aggregation Function - Count (only available option)

  • An Aggregation Resource of Observations, Conditions, Procedures, or Medications will present you with the following:

    1. Aggregation Filter Code - (for example, How many days a week you workout for 30+minutes) Only one selection is allowed. Type the medical code or a letter in the search box to search for the available filter codes.

    2. Aggregation Property this correlates with your filter code - (such as Value Quantity) Value Quantity, Value String, Observation, or Patient

    3. Aggregation Function - (such as Average) Standard Deviation, Average, Count, Minimum, Maximum, First Quartile, Second Quartile,Median, or Third Quartile

Style

The Style tab allows you to adjust the colors of your scatter chart. You can also load a palette for more color options.

Style

Advanced

The Advanced tab allows you to adjust the margins of your module, though this function is not commonly used.

Advanced

  1. Click Preview at the top of the module settings to view it.
  2. If everything looks good, click Apply to apply the new settings. This will NOT save the module. If you click away, you will lose this module.
  3. To save this module and its settings to the layout, click the Save Changes icon found in the blue header at the top of the page. Or if you need to make changes, click the Edit icon in the top right corner of the module.

Note

Clicking Apply will create your chart. It does not save the layout. To save the layout, you must click the Save Changes icon (found in the blue header). Navigating away from this page before clicking the icon will cause you to lose all changes since your last save.

Viewing the Scatter Chart

Each point on the scatter plot is an individual response. You can zoom in, or click on an actual data point and get it's x and y coordinates. Zooming side to side allows you to zoom in on one axis. To zoom back out to the original view, double tap on that module.

On the scatter plots you can click "View Data" in the lower left corner of the module to open a window and list the data.


Last update: 2021-04-20