# Upstage Design System — BarChart (product)
- context: product · group: data
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /ko/components/product/barchart/ · machine doc: /agent/components/product/barchart.md
## Required references (read these)
- /components/data/BarChart.jsx — implementation · sha256 6f50499aa095…
- /components/_types.d.ts — api · key BarChartProps
- /components/data/BarChart.prompt.md — usage-note · sha256 5b605d9539c0…
- /kit/rules/a11y-contract.json — a11y · key BarChart
## API (components/_types.d.ts BarChartProps)
- data?: BarDatum[]
- orientation?: "vertical" | "horizontal"
- palette?: "brand" | "categorical" — 기본 "brand" — 브랜드 스케일 한 계열(--chart-brand-1…5). 계열이 다른 항목만 "categorical".
- height?: number
- max?: number
- unit?: string
- title?: string
- valueFormat?: (value: number) => string
- showValues?: boolean
- style?: React.CSSProperties
## Accessibility contract
- keys: -
- aria: role=img, aria-label(요약)
- notes: .ds-sr-only 표로 같은 수치 노출
## Unverified
- Browser behaviour is not verified here (static source check only).
무엇인가
Token-driven bar chart with a screen-reader data table. — _types.d.ts
Comparison across a handful of categories — 길이 비교가 필요할 때. 규칙 전문은 [chart-rules.json](../../rules/chart-rules.json). — BarChart.prompt.md
선택지
prop 계약에서 허용값이 정해진 것만 싣는다. 기본값은 구현 파일의 함수 인자에서 읽었다.
| prop | 허용값 | default |
|---|---|---|
orientation | vertical · horizontal | — |
palette | brand · categorical | — |
출처
components/data/BarChart.jsximplementation · sha256 6f50499aa095…components/_types.d.tsapi · BarChartPropscomponents/data/BarChart.prompt.mdusage-note · sha256 5b605d9539c0…kit/rules/a11y-contract.jsona11y · BarChart