English 中文(简体)
Elasticsearch - Pie Charts
  • 时间:2024-11-03

Elasticsearch - Pie Charts


Previous Page Next Page  

Pie charts are one of the simplest and famous visuapzation tools. It represents the data as spces of a circle each coloured differently. The labels along with the percentage data values can be presented along with the circle. The circle can also take the shape of a donut.

Visuapze

In Kibana Home screen, we find the option name Visuapze which allows us to create visuapzation and aggregations from the indices stored in Elasticsearch. We choose to add a new visuapzation and select pie chart as the option shown below.

Pie Charts Visuapze

Choose the Metrics

The next screen prompts us for choosing the metrics which will be used in creating the Pie Chart. Here we choose the count of base unit price as the metric and Bucket Aggregation as histogram. Also, the minimum interval is chosen as 20. So, the prices will be displayed as blocks of values with 20 as a range.

Pie Charts Metrics

The result below shows the pie chart after we apply the selection. Please note the shades of the colour and their values mentioned in the label.

Pie Charts

Pie Chart Options

On moving to the options tab under pie chart we can see various configuration options to change the look as well as the arrangement of data display in the pie chart. In the following example, the pie chart appears as donut and the labels appear at the top.

Pie Charts Options Advertisements