How to have a visualization like healthy node/Total Nodes

I am using Grafana with Prometheus. I want to show a metrics like 2/3 which means 2 out of 3 nodes are healthy. I can have them as separate metrics, but how can I combine them together and show on Grafana

I had the same question, and the only way I found was to use percent values, like 66% in your example.
humanizePercentage allows to convert values like 0.66666 into “66%” :