Graflume · Alpha
Volume profile · 극단 사례 적용
가격 구간별 거래량을 집계해 수평 막대로 가격대의 집중도를 보여줍니다. 성공할 수 있는 유효 데이터 안에서 수치 범위, 희소 구조와 대용량 입력을 검증합니다. 각 탭은 필요할 때만 데이터를 만들며 잘못된 값은 조용히 보정하지 않습니다.
차트 계열 · 전문 차트 계열
Volume profile
가격 구간별 거래량을 집계해 수평 막대로 가격대의 집중도를 보여줍니다.
- Quick API
volumeProfile()- 브라우저 스냅샷
graflume/complete- mark
volume-profile- 프리셋
- 1
극단 사례
값의 범위·불규칙 구조·대용량 입력
성공할 수 있는 유효 데이터 안에서 수치 범위, 희소 구조와 대용량 입력을 검증합니다. 각 탭은 필요할 때만 데이터를 만들며 잘못된 값은 조용히 보정하지 않습니다.
큰 값·작은 값
0과 매우 작은 유한값부터 매우 큰 유한값까지 함께 넣어 자동 도메인, 정밀도와 기하가 무너지지 않는지 확인합니다. NaN과 Infinity는 의도적으로 거부됩니다. 유한값과 축 도메인을 보존하는 데이터 무결성 규칙 2개를 적용합니다.
상태불러오는 중
extreme-rangeextreme-smallextreme-largezeropositive-domainbudget:marks<=6
불러오는 중
큰 값·작은 값 · 행 데이터
행 데이터와 zero-copy TypedArray 열은 하나의 데이터 계약을 공유합니다.
datetemporal | pricequantitative | volumequantitative |
|---|---|---|
| 2026-01-01 | 5.150000000000001e-10 | 0 |
| 2026-02-01 | 9.9e-07 | 1 |
| 2026-03-01 | 1.03 | 1000 |
| 2026-04-01 | 990 | 1e+06 |
| 2026-05-01 | 1.03e+06 | 1e+09 |
| 2026-06-01 | 1.98e+09 | 1e+12 |
브라우저 API · 이식 가능한 스키마
브라우저 API
Graflume.volumeProfile()
const data = [
{
"close": 5.150000000000001e-10,
"date": "2026-01-01",
"high": 5.253000000000001e-10,
"low": 4.949e-10,
"open": 5.05e-10,
"price": 5.150000000000001e-10,
"value": 5.150000000000001e-10,
"volume": 0
},
{
"close": 9.9e-7,
"date": "2026-02-01",
"high": 0.0000010302,
"low": 9.702e-7,
"open": 0.0000010099999999999999,
"price": 9.9e-7,
"value": 9.9e-7,
"volume": 1
},
{
"close": 1.03,
"date": "2026-03-01",
"high": 1.0506,
"low": 0.9898,
"open": 1.01,
"price": 1.03,
"value": 1.03,
"volume": 1000
},
{
"close": 990,
"date": "2026-04-01",
"high": 1030.2,
"low": 970.1999999999999,
"open": 1010,
"price": 990,
"value": 990,
"volume": 1000000
},
{
"close": 1030000,
"date": "2026-05-01",
"high": 1050600,
"low": 989800,
"open": 1010000,
"price": 1030000,
"value": 1030000,
"volume": 1000000000
},
{
"close": 1980000000,
"date": "2026-06-01",
"high": 2060400000,
"low": 1940400000,
"open": 2020000000,
"price": 1980000000,
"value": 1980000000,
"volume": 1000000000000
}
];
const options = {
"accessibility": {
"description": "Trading activity reveals the price levels where liquidity accumulated. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Volume profile"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "날짜",
"timeZone": "UTC"
},
{
"field": "priceStart",
"format": "number",
"label": "가격 구간 시작"
},
{
"field": "priceEnd",
"format": "number",
"label": "가격 구간 끝"
},
{
"field": "volume",
"format": "number",
"label": "거래량"
},
{
"field": "proportion",
"format": "percent",
"fractionDigits": 1,
"label": "비중"
}
],
"title": "Volume profile",
"trigger": "axis"
}
},
"locale": "ko",
"mark": {
"fields": {
"price": "price",
"volume": "volume"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Volume profile"
},
"width": "container",
"x": {
"field": "date",
"title": "Trading day",
"type": "temporal"
},
"y": {
"field": "price",
"title": "Price",
"type": "quantitative"
}
};
Graflume.volumeProfile('#chart', data, options);이식 가능한 스키마
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Trading activity reveals the price levels where liquidity accumulated. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Volume profile"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "날짜",
"timeZone": "UTC"
},
{
"field": "priceStart",
"format": "number",
"label": "가격 구간 시작"
},
{
"field": "priceEnd",
"format": "number",
"label": "가격 구간 끝"
},
{
"field": "volume",
"format": "number",
"label": "거래량"
},
{
"field": "proportion",
"format": "percent",
"fractionDigits": 1,
"label": "비중"
}
],
"title": "Volume profile",
"trigger": "axis"
}
},
"locale": "ko",
"mark": {
"fields": {
"price": "price",
"volume": "volume"
}
},
"title": {
"subtitle": "edge case · range",
"text": "Volume profile"
},
"width": "container",
"x": {
"field": "date",
"title": "Trading day",
"type": "temporal"
},
"y": {
"field": "price",
"title": "Price",
"type": "quantitative"
}
}희소·불규칙 구조
중복, 결측, 희소성, 순서 뒤바뀜 중 이 계열에서 의미가 정의된 구조만 실행합니다. 잘못된 참조나 깨진 튜플을 성공 예제로 위장하지 않습니다. 결측·중복·순서의 의미를 보존하는 구조 규칙 3개를 적용합니다.
상태불러오는 중
irregular-structureduplicate-keyout-of-orderzero-baselinebudget:marks<=7
불러오는 중
희소·불규칙 구조 · 행 데이터
행 데이터와 zero-copy TypedArray 열은 하나의 데이터 계약을 공유합니다.
datetemporal | pricequantitative | volumequantitative |
|---|---|---|
| 2025-01-03 | 97.4641 | 1217 |
| 2025-01-01 | 95.1 | 1070 |
| 2025-01-03 | 97.4641 | 1217 |
| 2025-01-04 | 98.1631 | 1287 |
| 2025-01-05 | 98.4747 | 1353 |
| 2025-01-06 | 98.3969 | 1415 |
| 2025-01-02 | 96.4177 | 1144 |
브라우저 API · 이식 가능한 스키마
브라우저 API
Graflume.volumeProfile()
const data = [
{
"date": "2025-01-03",
"price": 97.4641,
"volume": 1217
},
{
"date": "2025-01-01",
"price": 95.1,
"volume": 1070
},
{
"date": "2025-01-03",
"price": 97.4641,
"volume": 1217
},
{
"date": "2025-01-04",
"price": 98.1631,
"volume": 1287
},
{
"date": "2025-01-05",
"price": 98.4747,
"volume": 1353
},
{
"date": "2025-01-06",
"price": 98.3969,
"volume": 1415
},
{
"date": "2025-01-02",
"price": 96.4177,
"volume": 1144
}
];
const options = {
"accessibility": {
"description": "Trading activity reveals the price levels where liquidity accumulated. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Volume profile · 희소·불규칙 구조"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "날짜",
"timeZone": "UTC"
},
{
"field": "priceStart",
"format": "number",
"label": "가격 구간 시작"
},
{
"field": "priceEnd",
"format": "number",
"label": "가격 구간 끝"
},
{
"field": "volume",
"format": "number",
"label": "거래량"
},
{
"field": "proportion",
"format": "percent",
"fractionDigits": 1,
"label": "비중"
}
],
"title": "Volume profile · 희소·불규칙 구조",
"trigger": "axis"
}
},
"locale": "ko",
"mark": {
"fields": {
"price": "price",
"volume": "volume"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Volume profile · 희소·불규칙 구조"
},
"width": "container",
"x": {
"field": "date",
"title": "Trading day",
"type": "temporal"
},
"y": {
"field": "price",
"title": "Price",
"type": "quantitative"
}
};
Graflume.volumeProfile('#chart', data, options);이식 가능한 스키마
ChartSpec 0.1 · options
{
"accessibility": {
"description": "Trading activity reveals the price levels where liquidity accumulated. The example uses curated, deterministic data and exposes its exact values in a semantic table.",
"label": "Volume profile · 희소·불규칙 구조"
},
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"height": 620,
"interaction": {
"hover": true,
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "날짜",
"timeZone": "UTC"
},
{
"field": "priceStart",
"format": "number",
"label": "가격 구간 시작"
},
{
"field": "priceEnd",
"format": "number",
"label": "가격 구간 끝"
},
{
"field": "volume",
"format": "number",
"label": "거래량"
},
{
"field": "proportion",
"format": "percent",
"fractionDigits": 1,
"label": "비중"
}
],
"title": "Volume profile · 희소·불규칙 구조",
"trigger": "axis"
}
},
"locale": "ko",
"mark": {
"fields": {
"price": "price",
"volume": "volume"
}
},
"title": {
"subtitle": "edge case · structure",
"text": "Volume profile · 희소·불규칙 구조"
},
"width": "container",
"x": {
"field": "date",
"title": "Trading day",
"type": "temporal"
},
"y": {
"field": "price",
"title": "Price",
"type": "quantitative"
}
}대용량 데이터
결정적인 압축 레시피를 탭을 열 때만 생성합니다. Graflume의 성능 프로필이 입력량에 맞춰 표식 수, 적중 검사와 애니메이션 비용을 제한합니다. 결정적 생성과 출력 제한을 보장하는 대용량 규칙 6개를 적용합니다. 이 계열은 논리 입력 100,000 행를 생성하고 막대 표식 출력을 최대 5,000개로 제한합니다.
상태불러오는 중
high-row-cardinalityall-input-rows-generatedall-input-rows-processeddeterministic-generationbounded-renderinginput:100000zoom-pan-resetbudget:bar-marks<=5000
- 범례:
legend · explicit · 1 channels - 포인트·범위 하이라이트:
highlights[] · datum · date - 설명 말풍선:
annotations[] · datum · date · callout · placement:auto
불러오는 중
브라우저 API · 이식 가능한 스키마
브라우저 API
Graflume.volumeProfile()
const recipe = {
"cardinality": {
"axes": {},
"sourceRows": 100000,
"unit": "rows"
},
"expectedInvariants": [
"finite-json",
"price-positive",
"volume-nonnegative"
],
"id": "ohlcv-sequence",
"initialView": {
"kind": "domain",
"zoom": 1
},
"outputBudget": {
"maximum": 5000,
"resource": "bar-marks"
},
"parameters": {
"explicitPerformance": true,
"family": "volume-profile",
"nullableFields": [],
"positiveFields": [
"volume"
],
"scenario": "volume",
"valueFields": [
"price"
],
"valuePolicy": "price-volume"
},
"preview": {
"maximumRows": 12,
"method": "quantiles"
},
"reduction": {
"method": "ohlcv-time-bins",
"stage": "bin"
},
"seed": 261648477,
"shape": "rows",
"version": 2
};
const { data, previewRows, plan } = Graflume.materializeDemoRecipe(recipe);
const options = {
"accessibility": {
"description": "확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.",
"label": "Volume profile · 대용량 데이터"
},
"annotations": [
{
"connector": {
"visible": true
},
"detail": "데이터, 축 범위 또는 화면 위치에 사용자가 작성한 안전한 텍스트 설명을 연결합니다.",
"id": "manual-callout",
"placement": "auto",
"style": {
"maxWidth": 220,
"padding": 8
},
"target": {
"field": "date",
"type": "datum",
"value": "2025-06-24"
},
"text": "포인트·범위 하이라이트 · 2025-06-24"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"create": {
"adaptive": {
"environment": {
"rowCount": 100000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2025-06-24"
}
}
],
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "차트 조작",
"enterFullscreen": "전체 화면 열기",
"exitFullscreen": "전체 화면 닫기",
"exportPng": "PNG 다운로드",
"hideAnnotations": "설명 말풍선 숨기기",
"loop": "반복 재생",
"nextFrame": "다음 프레임",
"pause": "일시 정지",
"play": "재생",
"previousFrame": "이전 프레임",
"reset": "보기 초기화",
"seek": "재생 위치",
"showAnnotations": "설명 말풍선 표시",
"speed": "재생 속도",
"zoomIn": "확대",
"zoomOut": "축소"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "날짜",
"timeZone": "UTC"
},
{
"field": "priceStart",
"format": "number",
"label": "가격 구간 시작"
},
{
"field": "priceEnd",
"format": "number",
"label": "가격 구간 끝"
},
{
"field": "volume",
"format": "number",
"label": "거래량"
},
{
"field": "proportion",
"format": "percent",
"fractionDigits": 1,
"label": "비중"
}
],
"title": "Volume profile · 대용량 데이터",
"trigger": "axis"
}
},
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Volume · width"
}
],
"labels": {
"hide": "숨기기",
"show": "표시"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Volume profile · 대용량 데이터",
"visible": true
},
"locale": "ko",
"mark": {
"fields": {
"price": "price",
"volume": "volume"
}
},
"padding": {
"top": 52
},
"performance": "ultra",
"theme": "graflume-light",
"title": {
"subtitle": "Trading activity reveals the price levels where liquidity accumulated · 100,000 logical rows, screen-aware detail",
"text": "Volume profile · 대용량 데이터"
},
"width": "container",
"x": {
"field": "date",
"title": "Trading day",
"type": "temporal"
},
"y": {
"field": "price",
"title": "Price",
"type": "quantitative"
}
};
Graflume.volumeProfile('#chart', data, options);이식 가능한 스키마
ChartSpec 0.1 · options
{
"accessibility": {
"description": "확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.",
"label": "Volume profile · 대용량 데이터"
},
"annotations": [
{
"connector": {
"visible": true
},
"detail": "데이터, 축 범위 또는 화면 위치에 사용자가 작성한 안전한 텍스트 설명을 연결합니다.",
"id": "manual-callout",
"placement": "auto",
"style": {
"maxWidth": 220,
"padding": 8
},
"target": {
"field": "date",
"type": "datum",
"value": "2025-06-24"
},
"text": "포인트·범위 하이라이트 · 2025-06-24"
}
],
"axes": {
"x": {
"format": {
"dateStyle": "long",
"timeZone": "UTC",
"type": "date"
}
}
},
"create": {
"adaptive": {
"environment": {
"rowCount": 100000
},
"largeDataNavigation": true,
"profiles": "auto"
}
},
"height": 620,
"highlights": [
{
"id": "manual-focus",
"padding": 7,
"target": {
"field": "date",
"type": "datum",
"value": "2025-06-24"
}
}
],
"interaction": {
"controls": {
"annotations": false,
"export": true,
"fullscreen": true,
"labels": {
"controls": "차트 조작",
"enterFullscreen": "전체 화면 열기",
"exitFullscreen": "전체 화면 닫기",
"exportPng": "PNG 다운로드",
"hideAnnotations": "설명 말풍선 숨기기",
"loop": "반복 재생",
"nextFrame": "다음 프레임",
"pause": "일시 정지",
"play": "재생",
"previousFrame": "이전 프레임",
"reset": "보기 초기화",
"seek": "재생 위치",
"showAnnotations": "설명 말풍선 표시",
"speed": "재생 속도",
"zoomIn": "확대",
"zoomOut": "축소"
},
"playback": false,
"reset": true,
"zoom": true
},
"hover": true,
"navigation": {
"drag": true,
"keyboard": true,
"maxZoom": 6,
"minZoom": 1,
"pinch": true,
"wheel": "modifier"
},
"tooltip": {
"axis": "y",
"fields": [
{
"dateStyle": "long",
"field": "date",
"format": "date",
"label": "날짜",
"timeZone": "UTC"
},
{
"field": "priceStart",
"format": "number",
"label": "가격 구간 시작"
},
{
"field": "priceEnd",
"format": "number",
"label": "가격 구간 끝"
},
{
"field": "volume",
"format": "number",
"label": "거래량"
},
{
"field": "proportion",
"format": "percent",
"fractionDigits": 1,
"label": "비중"
}
],
"title": "Volume profile · 대용량 데이터",
"trigger": "axis"
}
},
"legend": {
"interactive": false,
"items": [
{
"id": "semantic-0",
"label": "Volume · width"
}
],
"labels": {
"hide": "숨기기",
"show": "표시"
},
"maxItems": 8,
"mode": "layers",
"orientation": "horizontal",
"position": "bottom",
"title": "Volume profile · 대용량 데이터",
"visible": true
},
"locale": "ko",
"mark": {
"fields": {
"price": "price",
"volume": "volume"
}
},
"padding": {
"top": 52
},
"performance": "ultra",
"theme": "graflume-light",
"title": {
"subtitle": "Trading activity reveals the price levels where liquidity accumulated · 100,000 logical rows, screen-aware detail",
"text": "Volume profile · 대용량 데이터"
},
"width": "container",
"x": {
"field": "date",
"title": "Trading day",
"type": "temporal"
},
"y": {
"field": "price",
"title": "Price",
"type": "quantitative"
}
}