Changing marks sizes

Since we can tell differences in sizes easily compared to differences in colors, encoding data in various sizes of marks will increase the effectiveness of a graph. If the differences in data points are hard to observe, then a different type of visualization might be needed.

Getting ready

Let's use the sample file Sample – Superstore Sales (Excel). Open a new worksheet and select Sample – Superstore Sales (Excel) as the data source.

How to do it...

Once the data is loaded, perform the following steps to show marks sizes encoded by the values of an attribute:

  1. Drag-and-drop Sub-Category from Dimensions into the Rows shelf.
  2. Drag-and-drop Profit from Measures into the Columns shelf.
  3. Drag-and-drop Shipping Cost from Measures into the Size box in the Marks pane.
  4. Change the mark type to Shape to see the mark size vary by Shipping Cost.
  5. Click on the Size box to increase the size of shapes by dragging the visible slider. The final chart should look like the one in the following screenshot:
    How to do it...
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset