U-Board

A city's budget at a glance

Local government finance · Grid layout — a tree of departments holding programmes, drawn as area

A city's year of budget as a page for its residents — data in the shape of a tree, each department holding its programmes, drawn as a treemap whose bigger squares are bigger sums; the total is worked out from the departments' list, with what has been spent and its rate, a bar of how much each department has spent, and the projects residents voted for. A clean infographic, deep blue on white. Example data.

A city's budget at a glance

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": "#d2452a",
    "skin": {
      "palette": {
        "paper": "#f6f1e7",
        "ink": "#171a24",
        "muted": "#6b6a64",
        "rule": "#d9d2c1",
        "backdrop": "#f6f1e7"
      },
      "font": "\"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Malgun Gothic\", system-ui, sans-serif",
      "display": "\"Noto Serif KR\", \"Nanum Myeongjo\", Batang, Georgia, serif",
      "frame": "flat",
      "radius": 0,
      "shadow": "none",
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    }
  },
  "statuses": {
    "slow": {
      "tone": "alarm",
      "label": "더딤"
    },
    "normal": {
      "tone": "info",
      "label": "보통"
    },
    "ok": {
      "tone": "ok",
      "label": "완료"
    },
    "warn": {
      "tone": "warn",
      "label": "지연"
    },
    "info": {
      "tone": "info",
      "label": "진행"
    }
  },
  "data": {
    "now": {
      "from": "budget",
      "path": "/budget/now",
      "time": "updatedAt",
      "fields": {
        "city": {},
        "year": {},
        "asOf": {},
        "executed": {
          "label": "지금까지 쓴 돈",
          "unit": "억 원",
          "format": "number"
        },
        "rate": {
          "label": "집행률",
          "unit": "%",
          "digits": 1,
          "state": [
            "slow",
            1000,
            "normal"
          ]
        }
      }
    },
    "tree": {
      "from": "budget",
      "path": "/budget/tree",
      "list": "/value",
      "time": "updatedAt"
    },
    "total": {
      "from": "budget",
      "path": "/budget/tree",
      "list": "/value",
      "time": "updatedAt",
      "fields": {
        "sum": {
          "derive": {
            "op": "sum",
            "field": "value"
          },
          "label": "총 예산",
          "unit": "억 원",
          "format": "number"
        }
      }
    },
    "rates": {
      "from": "budget",
      "path": "/budget/rates",
      "list": "/value",
      "key": "name",
      "time": "updatedAt",
      "fields": {
        "name": {},
        "rate": {
          "unit": "%",
          "state": [
            "slow",
            60,
            "normal"
          ]
        }
      }
    },
    "projects": {
      "from": "budget",
      "path": "/budget/projects",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw",
          "names": {
            "ok": "완료",
            "warn": "지연",
            "info": "진행"
          }
        },
        "what": {},
        "where": {},
        "cost": {}
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "now",
      "title": "{{city}}는 올해 예산의 {{rate}}%를 썼다",
      "kicker": "시민 예산 보고",
      "subtitle": "{{asOf}} 기준 · 여섯 부서의 사업별 예산과 집행 · 예시 데이터",
      "scale": "xlarge",
      "kickerInk": "accent"
    },
    "whole": {
      "as": "stat",
      "of": "total",
      "show": "sum",
      "title": "총 예산"
    },
    "spent": {
      "as": "stat",
      "of": "now",
      "show": "executed",
      "title": "지금까지 쓴 돈"
    },
    "rate": {
      "as": "stat",
      "of": "now",
      "show": "rate",
      "title": "집행률"
    },
    "tree": {
      "as": "chart.treemap",
      "of": "tree",
      "title": "어디에 쓰나 — 부서와 사업(억 원)",
      "colors": [
        "#26324d",
        "#2d3b5c",
        "#34456b",
        "#7a2a1d",
        "#425889",
        "#496298"
      ],
      "echarts": {
        "series": [
          {
            "leafDepth": 2,
            "top": 6,
            "bottom": 6,
            "left": 0,
            "right": 0,
            "breadcrumb": {
              "show": false
            },
            "upperLabel": {
              "show": true,
              "height": 28,
              "color": "#171a24",
              "fontWeight": 700,
              "fontSize": 15,
              "fontFamily": "\"Noto Serif KR\", \"Nanum Myeongjo\", Batang, Georgia, serif"
            },
            "label": {
              "show": true,
              "color": "#ffffff",
              "fontSize": 12,
              "formatter": "{b}\n{c}"
            },
            "itemStyle": {
              "borderColor": "#f6f1e7",
              "borderWidth": 2,
              "gapWidth": 2
            }
          }
        ]
      }
    },
    "rates": {
      "as": "bar-list",
      "of": "rates",
      "title": "얼마나 썼나 — 부서별 집행률",
      "label": "name",
      "value": "rate",
      "state": "rate",
      "compact": true
    },
    "projects": {
      "as": "list",
      "of": "projects",
      "title": "주민참여예산으로 뽑힌 사업",
      "primary": "what",
      "secondary": "where",
      "trailing": "cost",
      "state": "state",
      "compact": true,
      "badge": "state",
      "numerals": {
        "scale": "xlarge",
        "weight": 300
      }
    },
    "foot": {
      "as": "label",
      "title": "예시 데이터 — 실제 도시의 예산이 아닙니다 · 단위 억 원 · 집행률은 부서별 예산에 대한 쓴 돈의 비율",
      "scale": "small",
      "ink": "muted"
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      1000
    ],
    "place": {
      "title": [
        56,
        30,
        900,
        196
      ],
      "whole": [
        980,
        44,
        180,
        110
      ],
      "spent": [
        1170,
        44,
        180,
        110
      ],
      "rate": [
        1360,
        44,
        184,
        110
      ],
      "tree": [
        56,
        250,
        860,
        470
      ],
      "rates": [
        980,
        250,
        564,
        360
      ],
      "projects": [
        56,
        730,
        1488,
        238
      ],
      "foot": [
        56,
        972,
        1200,
        20
      ]
    },
    "shapes": {
      "ruleTop": {
        "line": [
          [
            56,
            24
          ],
          [
            1544,
            24
          ]
        ],
        "tone": "idle",
        "width": 2
      },
      "ruleMid": {
        "line": [
          [
            56,
            246
          ],
          [
            1544,
            246
          ]
        ],
        "tone": "idle",
        "width": 1
      },
      "ruleLow": {
        "line": [
          [
            56,
            722
          ],
          [
            1544,
            722
          ]
        ],
        "tone": "idle",
        "width": 1
      },
      "divA": {
        "line": [
          [
            1165,
            52
          ],
          [
            1165,
            150
          ]
        ],
        "tone": "idle",
        "width": 1
      },
      "divB": {
        "line": [
          [
            1355,
            52
          ],
          [
            1355,
            150
          ]
        ],
        "tone": "idle",
        "width": 1
      }
    }
  }
}
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": "budget",
      "name": "예시 시 예산",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 도시의 예산이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-29T03:00:30.000Z",
  "responses": {
    "budget": {
      "/budget/now": {
        "city": "한결시",
        "year": 2026,
        "asOf": "10월 말",
        "executed": 17454,
        "rate": 71.8,
        "updatedAt": "2026-10-29T03:00:00Z"
      },
      "/budget/tree": {
        "value": [
          {
            "name": "복지",
            "value": 9800,
            "children": [
              {
                "name": "노인",
                "value": 3200
              },
              {
                "name": "아동·보육",
                "value": 3600
              },
              {
                "name": "장애인",
                "value": 1500
              },
              {
                "name": "기초생활",
                "value": 1500
              }
            ]
          },
          {
            "name": "교통",
            "value": 3900,
            "children": [
              {
                "name": "버스",
                "value": 1700
              },
              {
                "name": "도로",
                "value": 1400
              },
              {
                "name": "자전거·보행",
                "value": 800
              }
            ]
          },
          {
            "name": "교육·문화",
            "value": 3300,
            "children": [
              {
                "name": "학교 지원",
                "value": 1500
              },
              {
                "name": "도서관",
                "value": 900
              },
              {
                "name": "문화시설",
                "value": 900
              }
            ]
          },
          {
            "name": "환경",
            "value": 2700,
            "children": [
              {
                "name": "공원",
                "value": 1100
              },
              {
                "name": "자원순환",
                "value": 900
              },
              {
                "name": "하천",
                "value": 700
              }
            ]
          },
          {
            "name": "안전",
            "value": 2400,
            "children": [
              {
                "name": "소방",
                "value": 1100
              },
              {
                "name": "재난 대응",
                "value": 800
              },
              {
                "name": "CCTV",
                "value": 500
              }
            ]
          },
          {
            "name": "행정",
            "value": 2200,
            "children": [
              {
                "name": "예비비",
                "value": 900
              },
              {
                "name": "청사",
                "value": 700
              },
              {
                "name": "정보화",
                "value": 600
              }
            ]
          }
        ],
        "updatedAt": "2026-10-29T03:00:00Z"
      },
      "/budget/rates": {
        "value": [
          {
            "name": "복지",
            "rate": 78,
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "name": "교통",
            "rate": 64,
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "name": "교육·문화",
            "rate": 71,
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "name": "환경",
            "rate": 55,
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "name": "안전",
            "rate": 82,
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "name": "행정",
            "rate": 69,
            "updatedAt": "2026-10-29T03:00:00Z"
          }
        ],
        "updatedAt": "2026-10-29T03:00:00Z"
      },
      "/budget/projects": {
        "value": [
          {
            "id": "p-4",
            "what": "마을버스 야간 노선 신설",
            "where": "동부 · 서부 생활권",
            "cost": "18억",
            "state": "info",
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "id": "p-3",
            "what": "하천변 자전거길 이음",
            "where": "한결천 3.2 km",
            "cost": "42억",
            "state": "ok",
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "id": "p-2",
            "what": "초등학교 앞 보행 안전 구간",
            "where": "12개 학교",
            "cost": "27억",
            "state": "ok",
            "updatedAt": "2026-10-29T03:00:00Z"
          },
          {
            "id": "p-1",
            "what": "노후 공원 놀이시설 교체",
            "where": "9개 공원",
            "cost": "15억",
            "state": "warn",
            "updatedAt": "2026-10-29T03:00:00Z"
          }
        ],
        "updatedAt": "2026-10-29T03:00:00Z"
      }
    }
  }
}