---
code: "NET-02"
id: "c-9box"
tab: "network"
kind: "core"
title: "9-Box · 매트릭스"
library: "ECharts"
deps: ["echarts@5"]
load: "low"
pasteKind: "echarts-mount"
family: "matrix"
dataShape: "2-axis quadrant talent grid"
tasks: ["show connections", "show hierarchy", "trace flow", "show spread", "classify into quadrants"]
tags: ["network", "relationship", "flow", "distribution", "density", "9-box", "quadrant", "box", "매트릭스"]
gallery: "https://graph.heal7.com/#NET-02"
js: "/sku/NET-02.js"
---

# [NET-02] 9-Box · 매트릭스

> AI 붙여넣기 카드. 갤러리 런타임(`main.js`)이 아니라 이 파일을 가져와라.

## 언제 가져가나
잠재력×성과 9칸 분류 — 본인 펄스 마커.

**응용** 학습성×실행력, 가격×품질 포지셔닝.

## 데이터 모양
- family: `matrix`
- dataShape: 2-axis quadrant talent grid
- tasks: show connections, show hierarchy, trace flow, show spread, classify into quadrants
- tags: network, relationship, flow, distribution, density, 9-box, quadrant, box, 매트릭스


## 의존
echarts@5 · load `low` · library `ECharts`

## 붙여넣는 법
1. echarts 5.x 로드 (GL이면 echarts-gl도)
2. 컨테이너 id를 원본 id와 맞추거나 `document.getElementById` 한 줄만 바꾼다
3. `T`, `reg`, `cssv` 가 필요하면 갤러리 테마 스텁을 함께 가져간다

```js
const T = {
  "bg": "transparent",
  "fg": "#ece8f5",
  "sub": "#a59bbd",
  "grid": "rgba(255,255,255,.08)",
  "gold": "#e8c069",
  "royal": "#6b8cff",
  "rose": "#e07a9f",
  "teal": "#6dd2c4",
  "plum": "#b487e8"
};
const cssv = (n, fb) => (getComputedStyle(document.documentElement).getPropertyValue(n).trim() || fb);
const isDark = () => document.documentElement.getAttribute('data-theme') !== 'light';
const charts = [];
const reg = (id, opt) => {
  const dom = document.getElementById(id); if (!dom) return;
  const c = echarts.init(dom, null, {renderer:'canvas'});
  c.setOption(opt);
  charts.push(c);
  return c;
};
const factory = function(){
  const points = [];
  for(let i=0;i<60;i++) points.push([Math.random()*3, Math.random()*3, 4+Math.random()*8]);
  const me = [2.2, 2.4, 22];
  reg('c-9box', {
    backgroundColor:T.bg, grid:{top:14,right:14,bottom:30,left:36},
    xAxis:{type:'value', min:0, max:3, splitNumber:3, axisLabel:{color:T.sub,fontSize:10,formatter:v=>['','낮','중','높'][v]}, splitLine:{lineStyle:{color:T.grid}}, name:'성과', nameTextStyle:{color:T.sub}},
    yAxis:{type:'value', min:0, max:3, splitNumber:3, axisLabel:{color:T.sub,fontSize:10,formatter:v=>['','낮','중','높'][v]}, splitLine:{lineStyle:{color:T.grid}}, name:'잠재력', nameTextStyle:{color:T.sub}},
    series:[
      {type:'scatter', data:points, symbolSize:d=>d[2], itemStyle:{color:'rgba(107,140,255,.45)'}},
      {type:'effectScatter', data:[me], symbolSize:d=>d[2], rippleEffect:{scale:3}, itemStyle:{color:T.gold, shadowBlur:18, shadowColor:T.gold}}
    ]
  });
};
factory();
```

## 원본 factory (갤러리 정본 발췌)
- file: `frontend/js/graph-gallery/main.js`
- lines: 527-540
- gallery: https://graph.heal7.com/#NET-02
- raw js: https://graph.heal7.com/sku/NET-02.js

```js
function(){
  const points = [];
  for(let i=0;i<60;i++) points.push([Math.random()*3, Math.random()*3, 4+Math.random()*8]);
  const me = [2.2, 2.4, 22];
  reg('c-9box', {
    backgroundColor:T.bg, grid:{top:14,right:14,bottom:30,left:36},
    xAxis:{type:'value', min:0, max:3, splitNumber:3, axisLabel:{color:T.sub,fontSize:10,formatter:v=>['','낮','중','높'][v]}, splitLine:{lineStyle:{color:T.grid}}, name:'성과', nameTextStyle:{color:T.sub}},
    yAxis:{type:'value', min:0, max:3, splitNumber:3, axisLabel:{color:T.sub,fontSize:10,formatter:v=>['','낮','중','높'][v]}, splitLine:{lineStyle:{color:T.grid}}, name:'잠재력', nameTextStyle:{color:T.sub}},
    series:[
      {type:'scatter', data:points, symbolSize:d=>d[2], itemStyle:{color:'rgba(107,140,255,.45)'}},
      {type:'effectScatter', data:[me], symbolSize:d=>d[2], rippleEffect:{scale:3}, itemStyle:{color:T.gold, shadowBlur:18, shadowColor:T.gold}}
    ]
  });
}
```

