Colleagues often ask Mai: "What kind of chart is the most suitable for my data?"
In fact, the most basic form of chart is nothing more than a bar chart, a line chart, a pie chart, etc. Other good-looking data charts are all this. Several variants of conventional graphics.
Today, Wheat Sematic software will give you the most commonly used pie chart and its deformation!
1. What is a pie chart?
Tracing back to the source, the more recognized origins of pie charts are two charts published in 1801 by Scottish engineer William Playfair. The picture on the right depicts the proportion of the Turkish Empire in Asia, Europe, and Africa.
A pie chart is a chart type that divides a circle into several fan-shaped areas. The arc length (central angle and area) of each sector indicates the proportion of the category to the total, and all sectors together form a circle. The pie chart can be used to visually compare the proportion of a certain category in the overall.
↑Image source: info we trust / webdesignledger / slowalk.tistory
The name of the pie chart is really vivid, do you see if it is round like a pie ("pie"). It is said that in France, locals also named this chart ("Camembert Chart") after their favorite round Camembert cheese.
The pie chart is very useful, but controversy has always existed. Many data visualization experts believe that the human brain is easier to compare lengths than angles, so they suggest that when specific numbers have special meaning, it is better to use histograms.
2. Diversity expression of pie chart
In addition to the most common pie chart, many other pie chart variants have also been derived in practical applications.
1. Doughnut chart
The doughnut chart is also called a donut chart, which is actually a pie chart with the center area cut off. Cousin thinks that its advantage is that the blank circle in the middle has more room to play, and you can put some icons, illustrations or text information related to the chart.
2. Highlight a category
If there is a category that needs special emphasis, the circle radius of this category can be enlarged, or it can be distinguished by color.
3. Enlarge the details
When there are too many categories of the chart, and all of them need to be marked, you can pull out the unmarked piece and make a pie chart or stacked chart separately.
4. Multi-level pie chart
If the chart information contains multi-level relationships, it can be made into a multi-level pie chart or a multi-level ring chart.
Photo or illustration
If you want a richer and more interesting picture, you can also use real-life pictures or illustrations to make pie charts.
↑ Image source: clubdecreativosydecreativas.com\ SnorgTees \ Archinect \ Chit Chart
Three, the making of pie chart
1. Excel generation
If you want to make regular pie charts and ring charts, you can generate them directly with Excel. Here, wheat will not make too many statements.
Visual tool generation
Many BI tools can quickly generate pie charts. Wheat uses Smartbi as an example for a simple demonstration.
Business scenario description: View the proportion of sales of each product category in the company.
data structure
The data sources of the above business scenarios are as follows:
Our basic data is stored in the form of a detailed list.
Customization points
Double-click the "Quarter" and "Sales" fields, and the system will automatically assign dimensions to the "color" marked item and metric to the "angle" marked item. The graph made at this time does not show the percentage.
Drag the "season" and "sales" to the "label" marked item, and hover the mouse on the "sales (total)" field label to display a triangle button, click the button:
In the pop-up menu, select Quick Table Calculation> Total Percentage to display the percentage, as shown in the figure below:
You can clearly see the percentage of each product to the overall situation.
List of subgraphs
The graphics also supports rich sub-pictures for switching, enriching the display form, as follows:
Pie chart: The circle is divided into several pieces, representing different categories, and the size of the piece indicates the size of the data.
Ring chart: A ring chart is a graphic formed by stacking two pie charts of different sizes and cutting out the middle part. The area of the color block is relatively small, with more white space, and more space for information labeling and graphic layout, making it more flexible and lightweight when used.
Nightingale rose chart (area model): The central angle of the circle occupied by each category is constant, and the size of the data series is represented by the radius of the fan shape, which can get a rough proportion, giving a strong sense of difference.
Nightingale rose chart (radius mode): The central angle changes with the radius. The size of the data series is expressed by the size of the central angle and the radius. The approximate proportion can be obtained, giving a strong sense of difference.