Graflume · Alpha

Hierarchy · 차트 고유 기능

범주별 값의 비중을 공간을 채우는 타일의 면적으로 비교합니다. Graflume 공개 카탈로그에 등록된 이 계열의 모든 실행 모드입니다. 각 탭은 독립 데이터, 옵션, Quick API와 지원 기능 근거를 가집니다.

차트 계열 · 기본 차트 계열

Hierarchy

범주별 값의 비중을 공간을 채우는 타일의 면적으로 비교합니다.

Quick API
treemap()
브라우저 스냅샷
graflume
mark
treemap
프리셋
7

차트 고유 기능

이 차트만의 고유한 실행 기능

Graflume 공개 카탈로그에 등록된 이 계열의 모든 실행 모드입니다. 각 탭은 독립 데이터, 옵션, Quick API와 지원 기능 근거를 가집니다.

Organization chart

Organization chart 모드가 실행 가능한 데이터와 옵션으로 보여주는 핵심 기능: breadcrumbs and search.

상태불러오는 중

  • org
  • breadcrumbs and search
Graflume.org() Canvas 2D
조작 도움말

확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.

Tab으로 조작부를 이동하고 Enter 또는 Space로 실행하세요. 차트에 초점이 있을 때 더하기·빼기 키로 확대·축소하고 화살표 키로 이동할 수 있습니다.

자동 배치는 둘레 후보를 비교해 차트·범례·다른 말풍선과의 겹침을 가능한 한 피합니다. 명시한 위치는 필요한 안전 보정만 적용해 유지합니다. 말풍선 글자는 상자 안에서 안전하게 자동 줄바꿈됩니다. 끊어지지 않는 긴 토큰은 정해진 줄 수 안에서 시각적으로 축약하지만, 보조 기술에는 원문 전체를 유지합니다.

불러오는 중

브라우저 API · 이식 가능한 스키마

브라우저 API

Graflume.org()

const data = [
  {
    "id": "Statground",
    "parent": "",
    "value": 100
  },
  {
    "id": "Visualization",
    "parent": "Statground",
    "value": 46
  },
  {
    "id": "Data products",
    "parent": "Statground",
    "value": 34
  },
  {
    "id": "Documentation",
    "parent": "Statground",
    "value": 20
  },
  {
    "id": "Canvas charts",
    "parent": "Visualization",
    "value": 28
  },
  {
    "id": "Spatial charts",
    "parent": "Visualization",
    "value": 18
  },
  {
    "id": "Catalog",
    "parent": "Data products",
    "value": 14
  },
  {
    "id": "Workbench",
    "parent": "Data products",
    "value": 12
  },
  {
    "id": "Pipelines",
    "parent": "Data products",
    "value": 8
  },
  {
    "id": "Guides",
    "parent": "Documentation",
    "value": 12
  },
  {
    "id": "Examples",
    "parent": "Documentation",
    "value": 8
  }
];

const options = {
  "accessibility": {
    "description": "확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.",
    "label": "Hierarchy example"
  },
  "axes": {
    "x": false,
    "y": false
  },
  "height": 620,
  "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": {
      "fields": [
        {
          "field": "id",
          "format": "auto",
          "label": "항목"
        },
        {
          "field": "value",
          "format": "number",
          "label": "값"
        },
        {
          "field": "parent",
          "format": "auto",
          "label": "상위 단어"
        }
      ],
      "title": "Hierarchy",
      "trigger": "mark"
    }
  },
  "locale": "ko",
  "mark": {
    "fields": {
      "parent": "parent"
    }
  },
  "padding": {
    "top": 52
  },
  "theme": "graflume-light",
  "title": {
    "subtitle": "Organization chart 모드가 실행 가능한 데이터와 옵션으로 보여주는 핵심 기능: breadcrumbs and search.",
    "text": "Hierarchy"
  },
  "width": "container",
  "x": {
    "field": "id",
    "title": "Portfolio node",
    "type": "ordinal"
  },
  "y": {
    "field": "value",
    "title": "Relative investment",
    "type": "quantitative"
  }
};

Graflume.org('#chart', data, options);

이식 가능한 스키마

ChartSpec 0.1 · options

{
  "accessibility": {
    "description": "확대·이동은 화면을 살펴보기 위한 기능이며 데이터 축이나 값은 바꾸지 않습니다. 재생 조작이 보이는 차트에서는 원본 데이터에서 고유값이 처음 등장한 순서대로 실제 단계만 이동합니다.",
    "label": "Hierarchy example"
  },
  "axes": {
    "x": false,
    "y": false
  },
  "height": 620,
  "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": {
      "fields": [
        {
          "field": "id",
          "format": "auto",
          "label": "항목"
        },
        {
          "field": "value",
          "format": "number",
          "label": "값"
        },
        {
          "field": "parent",
          "format": "auto",
          "label": "상위 단어"
        }
      ],
      "title": "Hierarchy",
      "trigger": "mark"
    }
  },
  "locale": "ko",
  "mark": {
    "fields": {
      "parent": "parent"
    }
  },
  "padding": {
    "top": 52
  },
  "theme": "graflume-light",
  "title": {
    "subtitle": "Organization chart 모드가 실행 가능한 데이터와 옵션으로 보여주는 핵심 기능: breadcrumbs and search.",
    "text": "Hierarchy"
  },
  "width": "container",
  "x": {
    "field": "id",
    "title": "Portfolio node",
    "type": "ordinal"
  },
  "y": {
    "field": "value",
    "title": "Relative investment",
    "type": "quantitative"
  }
}

Catalog

Modes · compatibility identifiers

The source-controlled catalog maps callable modes in this family and compatibility identifiers to their canonical modes. This table contains executable entries only.

7 modes · 4 compatibility identifiers

Hierarchy · supported modes · representative treemap
IDNameQuick APImodemarkrenderer
orgOrganization chartorg()organizationorgcanvas
treemapTree maptreemap()treemaptreemapcanvas
icicleIcicle charticicle()icicletreemapcanvas
treeTree charttree()treetreecanvas
sunburstSunburst chartsunburst()sunburstsunburstcanvas
organization-networkOrganization networkorganizationNetwork()organization-networkorgcanvas
tree-graphTree graphtreeGraph()tree-graphtreecanvas
Hierarchy · compatibility identifiers
IdentifierCanonical mode ID
organizationorganization-network
sunburstsunburst
treegraphtree-graph
treemaptreemap

매뉴얼

통합 체크리스트

ARIA · table fallback

접근성

Canvas ARIA 메타데이터에 텍스트 요약과 표 대체 표현을 함께 제공합니다.

standard · large · ultra

성능

standard·large·ultra 프로필은 렌더링 작업량을 제한합니다.