Bar chart with percentage labels on top of the bar

Hi all,
there are already a view topics regarding bar charts with percentage labels. But my requirements I didn't found.
goal: I want to compare the average response time of different test runs by presenting the times separated by keywords (interface names). On the top of the bars should be a label with percentage of the y-value differences.

The attached screenshot shows more than thousand words.


The "baseline-B" and "run-30" are two different test runs - each with hundrets of samples (each document contains "ResponseTime" as a number). Regarding the difference in percentage: the left bar of each group of bars is 100%, the percentage label shows the difference of the average response time in percentage and the background color (green, if <= 100%; red, if > 100%)

Questions:

  • Is it possible to get such a chart?
  • If so, how to do it?

Thank you in advance, Niko

Welcome!

I believe that the only way to do exactly what you want is by using Vega or Vega-Lite in Kibana. :slight_smile:

Thank you David,
do you have additional hints for me, because I don't know Vega.
BR, Niko

I'm afraid that I can't help more as I have a very limited knowledge about Vega :sweat_smile: