Goal : Need to display data in Bytes.
I am trying to use numeral.js on Kibana for a vega viz but am not able to get the data to display in bytes. This is the library http://numeraljs.com/ and this is my signal
"signal": "if(cell_hover && cell_hover.datum.metric.value & > 0, format(cell_hover.datum.metric.value,'0.0b'), "")"
and its resulting in this
If there are any vega/js experts out there that can help me, i would very much appreciate it.