{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "children": [
    {
      "elmType": "span",
      "txtContent": "=(100 * @currentField) + ' %'",
      "style": {
        "padding-left": "8px",
        "white-space": "nowrap"
      }
    }
  ],
  "attributes": {
    "class": "sp-field-dataBars",
    "role": "progressbar",
    "aria-valuenow": "@currentField",
    "aria-valuemin": "0",
    "aria-valuemax": "1"
  },
  "style": {
    "padding": "0",
    "width": "=if(@currentField > 1, '100%', if(@currentField < 0, '0', (100 * @currentField) + '%'))",
    "box-sizing": "border-box"
  }
}