DEV Community

loading...

how to make pie chart in kibana

siddikh
・2 min read

Pie charts are a form of sorting information given to us for our convenience. it is an easy and fun way to sort the small piece of info required from a large group

first, make sure you open the kibana website

1.Select the Visualize tab from the left menu bar

2.Click the Create a Visualization button

3.Select the Pie chart

you will get a basic pie chart like this

next, in the pie chart editor use the matrices as shown below

1)Click to expand the Slice Size

2)Select Unique Count from the Aggregation pull-down

3)Select transmitterId.keyword from the Field pull-down

4)Enter a label in the Custom Label field

5)Click the right arrow on the top of the toolbar to update the changes

now adjust the Buckets as shown below 1)Click to expand the Split Slices buckets

2)Select Filters aggregation from the pull-down

3)Each filter will collect all documents that match its associated zone. Customize the filter by adding receiverId.keyword(s), an RSSI threshold, a Type filter, etc.

4)Define a Label to specify the zone by clicking the icon.

5)Click the right arrow on the top of the toolbar to update the changes

after this, the pie chart will look like this

The color of the pie chart can be changed by clicking directly on the color of each slice on the right side of the chart.

Then, to get information, follow the next steps.

Open Options tab and then:

1)Check the Show Label box from the Label settings

2)Click the right arrow on the top of the toolbar to update the changes

Discussion (0)

Forem Open with the Forem app