Kibana – Working With Graphs

In this chapter, we will discuss the two types of graphs used in visualization −

  • Line Graph
  • Area

Line Graph

To start with, let us create a visualization, choosing a line graph to display the data and use countries’ data as the index. We need to create the Y-axis and X-axis and the details for the same are shown below −

For Y-axis

Observe that we have taken Max as the Aggregation. So here we are going to show data presentation in a line graph. Now, we will plot a graph that will show the max population country-wise. The field we have taken is Population since we need maximum population country-wise.

For X-axis

On the x-axis, we have taken Terms as Aggregation, Country. the keyword as Field and metric: Max Population for Order By and order size is 5. So it will plot the 5 top countries with max population. After applying the changes, you can see the line graph as shown below −

So we have Max population in China, followed by India, United States, Indonesia, and Brazil as the top 5 countries in population.

Now, let us save this line graph so that we can use it in the dashboard later.

Click Confirm Save and you can save the visualization.

Area Graph

Go to visualization and choose an area with index as countries data. We need to select the Y-axis and X-axis. We will plot an area graph for the max area country-wise.

So here the X-axis and Y-axis will be as shown below −

After you click the Apply changes button, the output that we can see is as shown below −

From the graph, we can observe that Russia has the highest area, followed by Canada, United States, China, and Brazil. Save the visualization to use later.

Leave a Reply