U-Board

Water utility service area

Water & utilities · Sketch map

A water utility’s four districts on a sketch map: each booster station and reservoir with its state and open work orders where it stands, each district’s health (its share of sites running without an alarm, less overdue inspections — amber below 85, red below 70) on its badge, and the utility’s availability and work beside them. Example data.

Water utility service area

A board drawn with U-Board. Its values are example data written for it, not readings from a real site.

Open in the playground →

Board definition (JSON)

Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.

Download — board.json
{
  "elements": {
    "region": {
      "template": "<div class=\"r {{band}}\" role=\"img\" aria-label=\"{{name}} 건강도 {{health}}, 점검 지연 {{overdue}}건\">\n  <b>{{name}}</b>\n  <span class=\"h\">{{health | fixed:0}}<small> / 100</small></span>\n  <span class=\"o\">점검 지연 {{overdue}}건</span>\n</div>",
      "style": ".r{box-sizing:border-box;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;\nborder:2px solid var(--c);border-radius:8px;background:color-mix(in srgb, var(--c) 14%, var(--u-widget-surface));\nfont-family:var(--u-widget-font-family);color:var(--u-widget-text);--c:var(--u-widget-border)}\nb{font-size:13px;font-weight:600;color:var(--u-widget-text-secondary)}\n.h{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}\n.h small{font-size:12px;font-weight:500;color:var(--u-widget-text-secondary)}\n.o{font-size:11px;color:var(--u-widget-text-secondary)}\n.low{--c:var(--u-widget-warning)}\n.poor{--c:var(--u-widget-negative)}\n.low .h,.poor .h{color:var(--c)}",
      "props": {
        "name": "string",
        "health": "number",
        "band": "string",
        "overdue": "number"
      }
    },
    "site": {
      "template": "<div class=\"s {{state}}\" role=\"img\" aria-label=\"{{name}} {{stateText}}, 작업 {{orders}}건\">\n  <i></i><b>{{name}}</b>\n  <span>{{stateText}} · 작업 {{orders}}</span>\n</div>",
      "style": ".s{box-sizing:border-box;height:100%;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:6px;padding:4px 8px;\nborder:1px solid var(--u-widget-border);border-radius:6px;background:var(--u-widget-surface);\nfont-family:var(--u-widget-font-family);color:var(--u-widget-text);--c:var(--u-widget-text-secondary)}\ni{width:9px;height:9px;border-radius:50%;background:var(--c);grid-row:1/3}\nb{font-size:12px;font-weight:600}\nspan{font-size:11px;color:var(--u-widget-text-secondary)}\n.warning{--c:var(--u-widget-warning)}\n.stopped{--c:var(--u-widget-negative);border-color:var(--c);border-width:2px}\n.warning span,.stopped span{color:var(--c);font-weight:600}",
      "props": {
        "name": "string",
        "state": "string",
        "stateText": "string",
        "orders": "number"
      }
    }
  },
  "data": {
    "regions": {
      "from": "cmms",
      "path": "/area/regions",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "health": {},
        "health-2": {
          "names": [
            "poor",
            70,
            "low",
            85,
            "ok"
          ],
          "at": "/health"
        },
        "overdueInspections": {}
      }
    },
    "sites": {
      "from": "cmms",
      "path": "/area/sites",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "state": {},
        "state-2": {
          "names": {
            "running": "정상",
            "warning": "경고",
            "stopped": "정지",
            "*": "알 수 없음"
          },
          "at": "/state"
        },
        "openOrders": {}
      }
    },
    "summary": {
      "from": "cmms",
      "path": "/area/summary",
      "time": "updatedAt",
      "fresh": 900,
      "fields": {
        "availabilityPct": {
          "unit": "%"
        },
        "openOrders": {
          "label": "열린 작업",
          "unit": "건"
        },
        "overdueInspections": {
          "label": "점검 지연",
          "unit": "건"
        }
      }
    },
    "orders-by-region": {
      "from": "cmms",
      "path": "/area/orders-by-region",
      "list": "/value",
      "fresh": 900,
      "answerTime": "/updatedAt"
    }
  },
  "parts": {
    "region-north": {
      "as": "element",
      "element": "region",
      "of": "regions[north]",
      "props": {
        "name": "북부 권역"
      },
      "bind": {
        "health": "health",
        "band": "health-2",
        "overdue": "overdueInspections"
      }
    },
    "region-east": {
      "as": "element",
      "element": "region",
      "of": "regions[east]",
      "props": {
        "name": "동부 권역"
      },
      "bind": {
        "health": "health",
        "band": "health-2",
        "overdue": "overdueInspections"
      }
    },
    "region-west": {
      "as": "element",
      "element": "region",
      "of": "regions[west]",
      "props": {
        "name": "서부 권역"
      },
      "bind": {
        "health": "health",
        "band": "health-2",
        "overdue": "overdueInspections"
      }
    },
    "region-south": {
      "as": "element",
      "element": "region",
      "of": "regions[south]",
      "props": {
        "name": "남부 권역"
      },
      "bind": {
        "health": "health",
        "band": "health-2",
        "overdue": "overdueInspections"
      }
    },
    "site-N-01": {
      "as": "element",
      "element": "site",
      "of": "sites[N-01]",
      "props": {
        "name": "북부 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-N-02": {
      "as": "element",
      "element": "site",
      "of": "sites[N-02]",
      "props": {
        "name": "산정 배수지"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-N-03": {
      "as": "element",
      "element": "site",
      "of": "sites[N-03]",
      "props": {
        "name": "하천 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-E-01": {
      "as": "element",
      "element": "site",
      "of": "sites[E-01]",
      "props": {
        "name": "동부 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-E-02": {
      "as": "element",
      "element": "site",
      "of": "sites[E-02]",
      "props": {
        "name": "고지 배수지"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-E-03": {
      "as": "element",
      "element": "site",
      "of": "sites[E-03]",
      "props": {
        "name": "산업단지 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-W-01": {
      "as": "element",
      "element": "site",
      "of": "sites[W-01]",
      "props": {
        "name": "서부 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-W-02": {
      "as": "element",
      "element": "site",
      "of": "sites[W-02]",
      "props": {
        "name": "해안 배수지"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-S-01": {
      "as": "element",
      "element": "site",
      "of": "sites[S-01]",
      "props": {
        "name": "남부 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-S-02": {
      "as": "element",
      "element": "site",
      "of": "sites[S-02]",
      "props": {
        "name": "신도시 배수지"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-S-03": {
      "as": "element",
      "element": "site",
      "of": "sites[S-03]",
      "props": {
        "name": "남부 2 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "site-S-04": {
      "as": "element",
      "element": "site",
      "of": "sites[S-04]",
      "props": {
        "name": "하류 가압장"
      },
      "bind": {
        "state": "state",
        "stateText": "state-2",
        "orders": "openOrders"
      }
    },
    "availability": {
      "as": "gauge",
      "of": "summary",
      "show": "availabilityPct",
      "min": 0,
      "max": 100,
      "subtitle": "설비 가동률",
      "thresholds": [
        {
          "to": 90,
          "color": "red"
        },
        {
          "to": 97,
          "color": "yellow"
        },
        {
          "to": 100,
          "color": "green"
        }
      ]
    },
    "open-orders": {
      "as": "stat",
      "of": "summary",
      "show": "openOrders"
    },
    "overdue": {
      "as": "stat",
      "of": "summary",
      "show": "overdueInspections"
    },
    "orders-by-region": {
      "as": "chart.bar",
      "of": "orders-by-region",
      "title": "권역별 열린 작업 (건)",
      "x": "region",
      "y": [
        "corrective",
        "preventive"
      ],
      "stack": true,
      "series": [
        {
          "label": "고장 수리",
          "color": "#c2410c"
        },
        {
          "label": "예방 정비",
          "color": "#8a96a0"
        }
      ]
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1280,
      800
    ],
    "background": "(background drawing, 2 KB — in the downloaded file)",
    "place": {
      "region-north": [
        90,
        120,
        150,
        86
      ],
      "region-east": [
        750,
        120,
        150,
        86
      ],
      "region-west": [
        80,
        400,
        150,
        86
      ],
      "region-south": [
        470,
        640,
        150,
        86
      ],
      "site-N-01": [
        160,
        230,
        140,
        44
      ],
      "site-N-02": [
        330,
        150,
        140,
        44
      ],
      "site-N-03": [
        380,
        250,
        140,
        44
      ],
      "site-E-01": [
        610,
        210,
        140,
        44
      ],
      "site-E-02": [
        760,
        250,
        140,
        44
      ],
      "site-E-03": [
        690,
        340,
        140,
        44
      ],
      "site-W-01": [
        110,
        340,
        140,
        44
      ],
      "site-W-02": [
        200,
        500,
        140,
        44
      ],
      "site-S-01": [
        300,
        600,
        140,
        44
      ],
      "site-S-02": [
        660,
        520,
        140,
        44
      ],
      "site-S-03": [
        740,
        640,
        140,
        44
      ],
      "site-S-04": [
        150,
        690,
        140,
        44
      ],
      "availability": [
        980,
        100,
        270,
        150
      ],
      "open-orders": [
        980,
        266,
        130,
        76
      ],
      "overdue": [
        1120,
        266,
        130,
        76
      ],
      "orders-by-region": [
        980,
        360,
        270,
        300
      ]
    },
    "shapes": {
      "title": {
        "text": "상수도 광역 설비 지도",
        "at": [
          24,
          22
        ],
        "size": 24,
        "tone": "next"
      },
      "note": {
        "text": "가압장·배수지마다 상태와 열린 작업 · 권역마다 건강도(85 미만 주황, 70 미만 빨강) · 예시 데이터",
        "at": [
          24,
          56
        ],
        "size": 13,
        "tone": "past"
      },
      "side-title": {
        "text": "사업소 전체",
        "at": [
          980,
          72
        ],
        "size": 15,
        "tone": "next"
      }
    }
  }
}
Data (source answers JSON)

The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.

Download — data.json
{
  "connectors": [
    {
      "key": "cmms",
      "name": "예시 CMMS API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 상수도 사업소가 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-20T01:45:00.000Z",
  "responses": {
    "cmms": {
      "/area/summary": {
        "availabilityPct": 91.7,
        "openOrders": 20,
        "overdueInspections": 7,
        "updatedAt": "2026-10-20T01:40:00Z"
      },
      "/area/sites": {
        "value": [
          {
            "id": "N-01",
            "state": "running",
            "openOrders": 1,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "N-02",
            "state": "running",
            "openOrders": 0,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "N-03",
            "state": "running",
            "openOrders": 2,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "E-01",
            "state": "running",
            "openOrders": 1,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "E-02",
            "state": "warning",
            "openOrders": 2,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "E-03",
            "state": "stopped",
            "openOrders": 4,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "W-01",
            "state": "running",
            "openOrders": 1,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "W-02",
            "state": "running",
            "openOrders": 1,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "S-01",
            "state": "running",
            "openOrders": 2,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "S-02",
            "state": "running",
            "openOrders": 1,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "S-03",
            "state": "warning",
            "openOrders": 3,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "S-04",
            "state": "running",
            "openOrders": 2,
            "updatedAt": "2026-10-20T01:40:00Z"
          }
        ],
        "updatedAt": "2026-10-20T01:40:00Z"
      },
      "/area/regions": {
        "value": [
          {
            "id": "north",
            "health": 96,
            "overdueInspections": 0,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "east",
            "health": 64,
            "overdueInspections": 2,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "west",
            "health": 91,
            "overdueInspections": 1,
            "updatedAt": "2026-10-20T01:40:00Z"
          },
          {
            "id": "south",
            "health": 78,
            "overdueInspections": 4,
            "updatedAt": "2026-10-20T01:40:00Z"
          }
        ],
        "updatedAt": "2026-10-20T01:40:00Z"
      },
      "/area/orders-by-region": {
        "value": [
          {
            "region": "북부",
            "corrective": 1,
            "preventive": 2
          },
          {
            "region": "동부",
            "corrective": 5,
            "preventive": 2
          },
          {
            "region": "서부",
            "corrective": 0,
            "preventive": 2
          },
          {
            "region": "남부",
            "corrective": 3,
            "preventive": 5
          }
        ],
        "updatedAt": "2026-10-20T01:40:00Z"
      }
    }
  }
}