{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "style": {
    "font-size": "20px",
    "white-space": "nowrap"
  },
  "children": [
    {
      "elmType": "span",
      "txtContent": "=padStart('' , @currentField * 2 , '🟩')"
    },
    {
      "elmType": "span",
      "txtContent": "=padStart('' , (5 - @currentField) * 2 , '🔲')"
    }
  ]
}