U-Board

Zoo guide

Zoo visitor guide · A drawn map — press an area on it to zoom to its programs

A zoo's guide on a Saturday afternoon — a map of three areas (drawn by an element) with how many wait at each, and far below it each area's programs of the day, large. Pressing an area on the map takes the view to its programs — the element tells which region was pressed and the board's triggers listen. Example data.

Zoo guide

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
{
  "board": {
    "title": "바람언덕 동물원 안내",
    "theme": "light",
    "accent": "#2f7d4f",
    "skin": {
      "palette": {
        "paper": "#fbf3df",
        "ink": "#3b2f1e",
        "muted": "#7a6a4f",
        "rule": "#d9c79c"
      },
      "frame": "flat",
      "radius": 12
    }
  },
  "statuses": {
    "now": {
      "tone": "now",
      "label": "지금"
    },
    "soon": {
      "tone": "next",
      "label": "곧"
    },
    "later": {
      "tone": "idle",
      "label": "나중"
    }
  },
  "elements": {
    "park-map": {
      "template": "<svg viewBox=\"0 0 1000 420\" role=\"group\" aria-label=\"동물원 안내도 — 구역을 누르면 아래에 그 구역의 프로그램이 나옵니다\">\n  <path class=\"walk\" d=\"M60 396 C 300 380, 700 410, 940 392\" />\n  <g class=\"zone savanna\" data-ub-event=\"pick-savanna\" aria-label=\"초원 구역\">\n    <rect x=\"40\" y=\"60\" width=\"300\" height=\"300\" rx=\"34\" />\n    <text x=\"190\" y=\"190\" class=\"name\">초원</text>\n    <text x=\"190\" y=\"236\" class=\"wait\">대기 {{savanna}}명</text>\n  </g>\n  <g class=\"zone aquarium\" data-ub-event=\"pick-aquarium\" aria-label=\"바다 구역\">\n    <rect x=\"350\" y=\"60\" width=\"300\" height=\"300\" rx=\"34\" />\n    <text x=\"500\" y=\"190\" class=\"name\">바다</text>\n    <text x=\"500\" y=\"236\" class=\"wait\">대기 {{aquarium}}명</text>\n  </g>\n  <g class=\"zone birds\" data-ub-event=\"pick-birds\" aria-label=\"새 구역\">\n    <rect x=\"660\" y=\"60\" width=\"300\" height=\"300\" rx=\"34\" />\n    <text x=\"810\" y=\"190\" class=\"name\">새</text>\n    <text x=\"810\" y=\"236\" class=\"wait\">대기 {{birds}}명</text>\n  </g>\n</svg>",
      "style": "svg{display:block;width:100%;height:100%}\n.walk{fill:none;stroke:#b89b5e;stroke-width:10;stroke-linecap:round;stroke-dasharray:1 22}\n.zone{cursor:pointer}\n.zone rect{stroke:var(--u-widget-text);stroke-width:3}\n.savanna rect{fill:#e9c46a}.aquarium rect{fill:#8ecae6}.birds rect{fill:#b7d9a8}\n.zone:hover rect,.zone:focus rect{stroke-width:7}\n.name{font:700 46px var(--u-widget-font-family);fill:var(--u-widget-text);text-anchor:middle}\n.wait{font:600 28px var(--u-widget-font-family);fill:var(--u-widget-text);text-anchor:middle}",
      "props": {
        "savanna": "number",
        "aquarium": "number",
        "birds": "number"
      }
    }
  },
  "data": {
    "park": {
      "from": "park",
      "path": "/park/now",
      "time": "updatedAt",
      "fields": {
        "name": {},
        "day": {}
      }
    },
    "crowd": {
      "from": "park",
      "path": "/park/crowd",
      "time": "updatedAt",
      "fields": {
        "savanna": {},
        "aquarium": {},
        "birds": {}
      }
    },
    "programsSavanna": {
      "from": "park",
      "path": "/park/programs",
      "list": "/value",
      "key": "id",
      "where": {
        "zone": "savanna"
      },
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "what": {},
        "at": {}
      }
    },
    "programsAquarium": {
      "from": "park",
      "path": "/park/programs",
      "list": "/value",
      "key": "id",
      "where": {
        "zone": "aquarium"
      },
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "what": {},
        "at": {}
      }
    },
    "programsBirds": {
      "from": "park",
      "path": "/park/programs",
      "list": "/value",
      "key": "id",
      "where": {
        "zone": "birds"
      },
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "what": {},
        "at": {}
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "park",
      "title": "{{name}} · {{day}}",
      "kicker": "오늘의 안내",
      "subtitle": "지도의 구역을 누르면 아래의 그 구역 프로그램으로 가까이 갑니다 · 예시 데이터"
    },
    "map": {
      "as": "element",
      "element": "park-map",
      "of": "crowd",
      "bind": {
        "savanna": "savanna",
        "aquarium": "aquarium",
        "birds": "birds"
      }
    },
    "savanna": {
      "as": "list",
      "of": "programsSavanna",
      "title": "초원 — 오늘의 프로그램",
      "primary": "what",
      "trailing": "at",
      "state": "state"
    },
    "aquarium": {
      "as": "list",
      "of": "programsAquarium",
      "title": "바다 — 오늘의 프로그램",
      "primary": "what",
      "trailing": "at",
      "state": "state"
    },
    "birds": {
      "as": "list",
      "of": "programsBirds",
      "title": "새 — 오늘의 프로그램",
      "primary": "what",
      "trailing": "at",
      "state": "state"
    }
  },
  "triggers": [
    {
      "on": {
        "event": "element",
        "part": "map",
        "name": "pick-savanna"
      },
      "do": [
        {
          "action": "focus",
          "part": "savanna"
        }
      ]
    },
    {
      "on": {
        "event": "element",
        "part": "map",
        "name": "pick-aquarium"
      },
      "do": [
        {
          "action": "focus",
          "part": "aquarium"
        }
      ]
    },
    {
      "on": {
        "event": "element",
        "part": "map",
        "name": "pick-birds"
      },
      "do": [
        {
          "action": "focus",
          "part": "birds"
        }
      ]
    }
  ],
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      900
    ],
    "place": {
      "title": [
        24,
        16,
        1552,
        84
      ],
      "map": [
        300,
        120,
        1000,
        420
      ],
      "savanna": [
        40,
        640,
        480,
        210
      ],
      "aquarium": [
        560,
        640,
        480,
        210
      ],
      "birds": [
        1080,
        640,
        480,
        210
      ]
    },
    "shapes": {
      "frameSavanna": {
        "box": [
          24,
          600,
          512,
          270
        ],
        "label": "초원",
        "dash": true
      },
      "frameAquarium": {
        "box": [
          544,
          600,
          512,
          270
        ],
        "label": "바다",
        "dash": true
      },
      "frameBirds": {
        "box": [
          1064,
          600,
          512,
          270
        ],
        "label": "새",
        "dash": true
      }
    }
  }
}
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": "park",
      "name": "예시 동물원 안내",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 동물원이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-11-03T05:00:10.000Z",
  "responses": {
    "park": {
      "/park/now": {
        "name": "바람언덕 동물원",
        "day": "토요일 오후 2시",
        "updatedAt": "2026-11-03T05:00:00Z"
      },
      "/park/crowd": {
        "savanna": 38,
        "aquarium": 12,
        "birds": 5,
        "updatedAt": "2026-11-03T05:00:00Z"
      },
      "/park/programs": {
        "value": [
          {
            "id": "p1",
            "zone": "savanna",
            "at": "13:30",
            "what": "기린 먹이 주기",
            "state": "now",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p2",
            "zone": "savanna",
            "at": "14:30",
            "what": "사자 사육사 이야기",
            "state": "soon",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p3",
            "zone": "savanna",
            "at": "15:30",
            "what": "코끼리 목욕",
            "state": "later",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p4",
            "zone": "aquarium",
            "at": "14:00",
            "what": "펭귄 먹이 시간",
            "state": "now",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p5",
            "zone": "aquarium",
            "at": "15:00",
            "what": "바다사자 훈련 보기",
            "state": "soon",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p6",
            "zone": "aquarium",
            "at": "16:00",
            "what": "해파리 야간 조명",
            "state": "later",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p7",
            "zone": "birds",
            "at": "14:20",
            "what": "앵무새 말하기 쇼",
            "state": "soon",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p8",
            "zone": "birds",
            "at": "15:10",
            "what": "맹금류 비행 시범",
            "state": "later",
            "updatedAt": "2026-11-03T05:00:00Z"
          },
          {
            "id": "p9",
            "zone": "birds",
            "at": "16:00",
            "what": "홍학 무리 걷기",
            "state": "later",
            "updatedAt": "2026-11-03T05:00:00Z"
          }
        ],
        "updatedAt": "2026-11-03T05:00:00Z"
      }
    }
  }
}