English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The pie chart is one of the simplest and most famous visualization tools. It represents data as slices of a circle, with each slice having a different color. Labels and percentage data values can be displayed along with the circle. The circle can also take the shape of a doughnut.
In the Kibana main screen, we find the option name Visualize, which allows us to create visualizations and aggregations from the indices stored in Elasticsearch. We select to add a new visualization and choose the pie chart as the option shown below.
The next screen prompts us to select the metrics to be used to create the pie chart. Here we choose the basic unit price as the metric and bucket aggregation as the histogram. In addition, the minimum interval selection is20. Therefore, the price will be displayed as follows20 is the value block for the range.
After applying the selection, the following results show the pie chart. Please note the color shades and values mentioned in the labels.
When we switch to the options tab below the pie chart, we can see various configuration options to change the appearance of the pie chart and the arrangement of the displayed data. In the following example, the pie chart is displayed as a doughnut, and the labels are displayed at the top.