Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Tableau scatter chart


May 26, 2021 Tableau


Table of contents


As the name implies, scatterpout charts show many points scattered across the Descartes plane. /b10> It was created by drawing the values of numeric variables as X and Y coordinates in the Descartes plane. /b11> Tableau uses at least one measure in a row shelf and one measure in a column shelf to create a scatter chart. /b12> But we can add dimension fields to the scatter chart, which plays a role in the different colors of the point markers that already exist in the scattert diagram.

Simple scatter chart

Using the Ample-superstore, we aim to find changes in sales and profit data as 2 axes of the Descartes plane distributed according to their subcategories. /b10> To achieve this, we follow these steps.

  • Step 1 Drag and drop the measure Sales into the column frame.
  • Step 2 Drag and drop the measured profit onto the shelf.
  • Step 3 Drag the dimension subcategory to the label Shell under the tag.

The chart below shows how to distribute profits and sales in subcategories where we have products.

Tableau scatter chart

Scatter chart - color coding

We can get color-coded values by dragging dimension subcategories to the color Shell under the marker card. /b10> This chart shows scatter points with different colors for each point.

Tableau scatter chart

Lower drill-off point diagram

When we select dimensions with hierarchies, the same scatter chart can display different values. /b10> In the example above, we expand the subcategory fields to show the scatter graph values of Manufacturers.

Tableau scatter chart