How to plot two different fields in one bar chart?

I want to do a chart like this:

So I have two fields "rest_of_the_world" and "china" that I want to display on the same bar chart. The Y axis is supposed to be the number of document that contain a X value (a count).

So for instance I have 150 documents that have "1996" in the field "rest_of_the_world" and "15 documents that has "1996" in the field "china".

Is it possible to do such a chart with Kibana? And will it be possible to plot the difference between the two?

This is possible with timelion, https://www.elastic.co/guide/en/kibana/current/timelion.html.

Isn't this for time series data? In my case it is an integer not a date

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.