Pie Chart
Last updated
Last updated
A pie chart is a great way to visualize data in a circle divided into segments (slices) that reflect the frequency of each category. Each slice represents one component and when added together equals a whole circle.
A pie chart shows part or whole relationship between your data and makes it possible to compare the various sizes. Each segment can be used to represent a product, website, category etc, if you want your audience to see the part of the whole relationship in your data.
Or to convey that one segment is relatively larger or smaller than another.
You can use a pie chart to show the amount of traffic coming from each social media platform.
You can also use pie chart to show the number of sales for each product.
1. From within the dashboard, click on Manage Dashboards at the top right.
2. Under Charts, click on the pie chart icon.
The pie chart creation window should pop up. (This is where you set the specifics you want to display on the pie chart). It’s also where you edit the pie chart if you want to change any parameter.
For example, if you want to create a pie chart to display weekly page view. Here’s how to go about it.
The line chart window is not different than what we’ve discussed under creating tiles.
The first part is the general, where you enter a title and description for the line chart. So for instance, if you want to create a pie chart to visualize weekly page views, the title can be Weekly pageviews.
For the description, enter a detailed description that helps you understand what the tile is all about (weekly page views in our case).
The data section is where you choose the type of data you want to display on the pie chart.
A view is a predefined query modeled to simplify your reporting. What event/data do you want to display on the chart? Since we want to track weekly pageviews, the view would be events.
Clicking on open view details will open the dictionary where you can find what the view is all about and the associated values.
What subdata or measure do you want to track/display on the line chart? Unlike line charts, pie charts don’t allow you to trend more than one value.
So from the dropdown of value we’ll choose pageviews.
Do you want to segment the event(s) to learn more about them? By default, the breakdown is by date. However, you can break down your tile by week, hour, and other dimensions like page URL, referrer, etc.
Since we are tracking weekly pageviews, we can breakdown by ‘days of week’.
What date range do you want to track with the line chart? Set a start and finish date, so the date range is the period in between both dates. You can either choose a predefined date range or enter a custom date range.
Since we are tracking pageviews, we’ll select ‘Last full 7 days’ as our date range.
Is there any specific data set you do not want to display? Do you want to only visualize specific data or data for a specific date?
For instance, we can filter our data to only show pageviews with referrers.
To do this, select page referral on the measure tab and choose exists on the second tab.
The options section is where you select how you want the data to be displayed.
You can limit the number of items that show up or make it unlimited.
We will limit our tile to 100 items.
This section allows you to control the size of the pie chart. There are several predefined sizes you can choose from including unset, small, default, default wide, wide small, wide and full width.
Click Save to add the pie chart to your dashboard.
If you choose small, the chart will look like this.
Default wide would look like this;