@makechart/twmapadv 0.0.0-stage → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/LICENSE +21 -0
- package/README.md +78 -2
- package/index.html +1 -0
- package/package.json +1 -6
- package/sample//345/205/250/345/234/213.json +1 -0
- package/sample//345/215/227/346/212/225/347/270/243.json +1 -0
- package/sample//345/230/211/347/276/251/345/270/202.json +1 -0
- package/sample//345/230/211/347/276/251/347/270/243.json +1 -0
- package/sample//345/237/272/351/232/206/345/270/202.json +1 -0
- package/sample//345/256/234/350/230/255/347/270/243.json +1 -0
- package/sample//345/261/217/346/235/261/347/270/243.json +1 -0
- package/sample//345/275/260/345/214/226/347/270/243.json +1 -0
- package/sample//346/226/260/345/214/227/345/270/202.json +1 -0
- package/sample//346/226/260/347/253/271/345/270/202.json +1 -0
- package/sample//346/226/260/347/253/271/347/270/243.json +1 -0
- package/sample//346/241/203/345/234/222/345/270/202.json +1 -0
- package/sample//346/276/216/346/271/226/347/270/243.json +1 -0
- package/sample//350/207/272/344/270/255/345/270/202.json +1 -0
- package/sample//350/207/272/345/214/227/345/270/202.json +1 -0
- package/sample//350/207/272/345/215/227/345/270/202.json +1 -0
- package/sample//350/207/272/346/235/261/347/270/243.json +1 -0
- package/sample//350/212/261/350/223/256/347/270/243.json +1 -0
- package/sample//350/213/227/346/240/227/347/270/243.json +1 -0
- package/sample//351/200/243/346/261/237/347/270/243.json +1 -0
- package/sample//351/207/221/351/226/200/347/270/243.json +1 -0
- package/sample//351/233/262/346/236/227/347/270/243.json +1 -0
- package/sample//351/253/230/351/233/204/345/270/202.json +1 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Change Logs
|
|
2
|
+
|
|
3
|
+
## v0.0.2
|
|
4
|
+
|
|
5
|
+
- more levels ( block data `level` ): `town` is the whole country, counties over towns, from the town
|
|
6
|
+
file and its `objects.county`; `county/<縣市>/<鄉鎮>` is one town over its villages. needs `pdmaptw` 2.6.0
|
|
7
|
+
- dimension names follow the level ( 縣市 / 鄉鎮 for the whole country )
|
|
8
|
+
- the map extent leaves out far away islands ( 東沙 / 南沙 under 高雄市旗津區 ), which are clipped
|
|
9
|
+
- national sample data `sample/全國.json`; a single town filters its county's sample
|
|
10
|
+
- `tool/icon.js`: per-county chart icons for `@makechart/iconset`
|
|
11
|
+
|
|
12
|
+
## v0.0.1
|
|
13
|
+
|
|
14
|
+
- first release. town / village map of one Taiwan county ( block data `level`, e.g. `county/臺北市` ),
|
|
15
|
+
on the lite base ( `@makechart/base` `lite/index.html` ) and `@plotdb/chart` `chart.anim`
|
|
16
|
+
- maps from `pdmaptw` 2.5.0: only the village file is loaded; towns come from its `objects.town`,
|
|
17
|
+
which shares the villages' arcs, so both levels line up
|
|
18
|
+
- modes: `map`, `cartogram` ( contiguous, Dougenik 1985 ), `bubble` ( dorling, optionally pies with
|
|
19
|
+
`side` / `desc` ordering, leader lines, with or without a basemap )
|
|
20
|
+
- heat: sequential / diverging ( center median / mean / manual, symmetric ), `linear` / `log` / `pow` /
|
|
21
|
+
`quantile`, optional steps; category coloring with the `@plotdb/chart` legend
|
|
22
|
+
- 3d extrusion with a base plate; rotation `drag` / `auto` / `both`; drawn in depth bands each frame so
|
|
23
|
+
interlocking districts stay correct, and animated by its own per-frame tween
|
|
24
|
+
- villages: expand on click ( optionally zooming to the town ) or show all; `全區` rows give town values,
|
|
25
|
+
missing ones are aggregated; the town column may also hold 11-digit village codes ( single-key sources )
|
|
26
|
+
- crossfilter on town or town + village, `common.subset` ( dim / partial / shrink ), legend subset modes
|
|
27
|
+
- per-county sample data ( 內政部戶政司 village population ), loaded on demand from `sample/<縣市>.json`
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 zbryikt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,79 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @makechart/twmapadv
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
縣市內的鄉鎮 / 村里地圖。地圖資料來自 `pdmaptw` ( 2.4.0 起的各縣市村里檔 )。
|
|
4
|
+
|
|
5
|
+
block data `level` 決定畫哪兩層 ( 程式與資料的維度一律叫上層 `town`、下層 `village` ):
|
|
6
|
+
|
|
7
|
+
| level | 上層 / 下層 | 地圖檔 ( pdmaptw >= 2.6.0 ) |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `town` | 縣市 / 鄉鎮 ( 全國 ) | `town.map.js`, 上層是它的 `objects.county` |
|
|
10
|
+
| `county/<縣市>` ( 預設 `county/臺北市` ) | 鄉鎮 / 村里 | `county/<縣市>.village.map.js`, 上層是它的 `objects.town` |
|
|
11
|
+
| `county/<縣市>/<鄉鎮>` | 該鄉鎮 / 它的村里 | 同上, 只留這個鄉鎮 ( 名稱或 8 碼代碼 ) |
|
|
12
|
+
|
|
13
|
+
維度在編輯器裡的名稱依層級顯示 ( 全國是縣市 / 鄉鎮 ). 下層名稱可以帶上層的名字 ( `臺北市中正區` ).
|
|
14
|
+
地圖範圍不含遠方的小島 ( 例如東沙、南沙 ), 範圍外的部分會被裁掉.
|
|
15
|
+
|
|
16
|
+
鄉鎮的形狀用村里檔裡的 `objects.town` ( pdmaptw 2.5.0 起, 由村里合成、與村里共用 arc ), 不用鄉鎮檔:
|
|
17
|
+
兩個檔來自不同的 shapefile、各自簡化, 界線對不上, 一起畫時會錯開.
|
|
18
|
+
村里檔沒有 `objects.town` 時 ( 2.4.0 ) 在執行時由村里合成: 那一版的村里界在外框上不一定接在同一點
|
|
19
|
+
( 差約 10m, 約一半的鄉鎮有 ), 合併後斷開的線依端點最近的接回去. 全縣市合起來幾 ms.
|
|
20
|
+
鄉鎮檔只在沒有村里檔時使用.
|
|
21
|
+
|
|
22
|
+
立體: 每一格依當下的角度把每塊沿深度切成窄帶, 由遠而近畫, 同一帶裡由低到高; 側面只畫高出前方鄰居的部分.
|
|
23
|
+
行政區不是凸的, 整塊排序在互相嵌合的地方 ( 例如士林、北投 ) 會畫錯. 轉場 ( 高度、顏色、形狀、視角 ) 也是
|
|
24
|
+
每一格重畫, 轉動中也能轉場. 淡化在立體時改成往背景色混, 不用半透明.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## 資料
|
|
28
|
+
|
|
29
|
+
| 維度 | 型別 | 說明 |
|
|
30
|
+
| --- | --- | --- |
|
|
31
|
+
| `town` | N | 鄉鎮名 ( `大安區` / `臺北市大安區` 皆可, 臺 / 台 不拘 ) 或 8 碼代碼. 也可以是 11 碼村里代碼 ( 見下 ) |
|
|
32
|
+
| `village` | N | 村里名或 11 碼代碼. 空白或 `全區` / `總計` / `合計` 的那一列就是鄉鎮值 |
|
|
33
|
+
| `value` | R | 數值: 熱度顏色、立體高度 |
|
|
34
|
+
| `size` | R | 大小: 泡泡、cartogram 面積. 沒綁時用 `value` |
|
|
35
|
+
| `cat` | C | 分類: 顏色 ( `color-by: cat` 或沒有 `value` 時 ) |
|
|
36
|
+
| `parts` | R, 多欄 | 比例: 泡泡模式下兩欄以上畫成圓餅 |
|
|
37
|
+
|
|
38
|
+
沒有「全區」列的鄉鎮, 依 `village.aggregate` ( sum / mean / none ) 由村里算出.
|
|
39
|
+
只有鄉鎮資料時不綁 `village` 即可.
|
|
40
|
+
|
|
41
|
+
`town` 欄是 11 碼村里代碼時, 每一列就是一個村里, 鄉鎮由村里匯總. 這是給只有一欄 key 的來源用的
|
|
42
|
+
( 例如 dashboard 以村里 groupby ): 點鄉鎮時發出的 filter 是它底下所有村里的代碼.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## 模式
|
|
46
|
+
|
|
47
|
+
- `mode`: `map` / `cartogram` ( 連續型, Dougenik 1985 ) / `bubble` ( Dorling )
|
|
48
|
+
- `extrude.enabled`: 立體. 有底板, 高度 = 數值; `extrude.rotate` 為 `drag` / `auto` / `both` ( 自動轉, 拖曳時暫停 ) / `none`
|
|
49
|
+
- `village.mode`: `click` ( 點鄉鎮展開村里; 再點一次取消選取、或點空白處收合 ) / `all` / `none`.
|
|
50
|
+
`village.zoom`: 展開時放大到那個鄉鎮, 色條改顯示村里的範圍
|
|
51
|
+
- `heat`: `sequential` / `diverging` ( 中點 median / mean / manual, 可對稱 ), `steps` 分級;
|
|
52
|
+
刻度 `linear` / `log` ( 跨好幾個數量級時 ) / `pow` / `quantile` ( 依名次, 偏斜的資料也會用滿色階 )
|
|
53
|
+
- `bubble`: 重疊或排開, 排開時可畫虛線連到行政區中心; 有無底圖;
|
|
54
|
+
圓餅 `side` ( 左右上下依序 ) / `desc` ( 由大到小, 12 點鐘起順時針 ) / `none`
|
|
55
|
+
- `filter-level`: crossfilter 發 `town`, 或 `town` + `village`. 沒選到的依 `common.subset.opacity` 淡化
|
|
56
|
+
- subset ( dashboard compare 的分子, `common.subset.mode` ): `dim` 子集裡為 0 的淡化;
|
|
57
|
+
`partial` 泡泡 / 圓餅畫出子集比例的內圈, 行政區塊沒有可切的維度, 退回 dim; `shrink` 直接用子集的值.
|
|
58
|
+
注意: 核心目前只用一個維度 ( `town` ) 對齊子集, 有村里列時同一鄉鎮的村里會對到同一列
|
|
59
|
+
- legend ( 分類 / 圓餅欄位 ) 關掉的項目依 `legend.subset.mode`: `shrink` 拿掉, `dim` 淡化
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## 範例資料
|
|
63
|
+
|
|
64
|
+
每個縣市一個 `src/sample/<縣市>.json`, 全國是 `src/sample/全國.json` ( build 時複製到 `dist/sample/` ),
|
|
65
|
+
`sample()` 執行時才依 `level` 載入那一個 ( 單一鄉鎮從縣市檔篩出 ) ( 網址由 block manager 照 registry 規則組出 ). 由 `tool/sample.js` 產生
|
|
66
|
+
( 內政部戶政司 ODRP014 村里戶數、單一年齡人口; 面積取自 pdmaptw ):
|
|
67
|
+
|
|
68
|
+
node tool/sample.js 11409 ../../../plotdb/projects/pdmaptw # 全部縣市
|
|
69
|
+
node tool/sample.js 11409 ../../../plotdb/projects/pdmaptw --csv <目錄> # 另出 builtin-datasets 的 CSV
|
|
70
|
+
|
|
71
|
+
人口資料與地圖界線的版本不同時, 地圖上沒有的村里會略過 ( 列在輸出裡 ), 人口仍算進鄉鎮的「全區」.
|
|
72
|
+
`--csv` 輸出 `taipei-village-population.csv` 與 `taiwan-town-population.csv`, 放在 makechart server 的
|
|
73
|
+
`module/makechart/builtin-datasets/data/`.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## 測試
|
|
77
|
+
|
|
78
|
+
npm run test:dev # 連本地的 pdmaptw / base / @plotdb/chart
|
|
79
|
+
npm run test:dev:serve # UI 與 /playground
|
package/index.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<div><style type="text/css">.pdl-layout>div[data-type=layout]{display:grid;grid-template-columns:1fr fit-content(8em);grid-template-rows:1fr auto}.pdl-layout>div[data-type=layout]>.pdl-cell[data-name=view]{grid-row:1/span 2}.pdl-layout>div[data-type=layout]>.pdl-cell[data-name=legend]{padding-left:1em}.pdl-layout.legend-bottom>div[data-type=layout]{grid-template-columns:1fr;grid-template-rows:1fr auto auto}.pdl-layout.legend-bottom>div[data-type=layout]>.pdl-cell[data-name=view]{grid-row:auto}.pdl-layout.legend-bottom>div[data-type=layout]>.pdl-cell[data-name=legend]{padding:1em 0 0 0}.pdl-cell[data-name=scale]{padding:.5em}.pdl-cell[data-name=scale]>div{width:4.5em;height:10em}.pdl-layout.legend-bottom .pdl-cell[data-name=scale]>div{width:auto;height:2em}</style><script type="@plotdb/block">var svgns,tau,mk,ringArea,ringCentroid,metrics,clone,eachPoint,cartogram,relax,pieArcs,wedge,toRgb,rgbStr,ramp,rank,unrank,palettes,townWords,mod;module.exports={pkg:{name:"twmapadv",version:"0.0.2",extend:{name:"@makechart/base",path:"lite/index.html"},dependencies:[{name:"topojson-client",version:"3.1.0",path:"dist/topojson-client.min.js",async:false},{name:"d3-array",version:"3.2.4",path:"dist/d3-array.min.js",async:false},{name:"d3-geo",version:"3.1.1",path:"dist/d3-geo.min.js",async:false}],i18n:{"zh-TW":{county:"縣市",town:"鄉鎮",village:"村里",value:"數值",size:"大小",category:"分類",proportion:"比例",aggregated:"村里匯總","aggregated-town":"鄉鎮匯總"}}},init:function(t){var e,n,i,r,o,l;e=t.root,n=t.context,i=t.t,r=t.pubsub,o=t.data,l=t.manager;return mod({context:n,t:i,data:o,manager:l,cls:this._instance.block}).then(function(t){return r.fire("init",{mod:t}).then(function(t){return t[0]})})}};svgns="http://www.w3.org/2000/svg";tau=Math.PI*2;mk=function(t,e,n){var i;i=document.createElementNS(svgns,e);if(n){i.setAttribute("class",n)}t.appendChild(i);return i};ringArea=function(t){var e,n,i,r;e=0;for(n=0,i=t.length-1;n<i;++n){r=n;e+=t[r][0]*t[r+1][1]-t[r+1][0]*t[r][1]}return e/2};ringCentroid=function(t){var e,n,i,r,o,l,a,u,s,c,f,h;e=[0,0,0],n=e[0],i=e[1],r=e[2];for(o=0,l=t.length-1;o<l;++o){a=o;e=t[a],u=e[0],s=e[1];e=t[a+1],c=e[0],f=e[1];h=u*f-c*s;n+=h;i+=(u+c)*h;r+=(s+f)*h}if(!n){return(t[0]||[0,0]).slice()}return[i/(3*n),r/(3*n)]};metrics=function(t){var e,n,i,r,o,l,a,u,s,c,f,h,d,g,p,m;e=[0,0,0,null,0],n=e[0],i=e[1],r=e[2],o=e[3],l=e[4];for(a=0,u=t.length;a<u;++a){s=t[a];for(c=0,f=s.length;c<f;++c){h=c;d=s[c];if(d.length<4){continue}g=Math.abs(ringArea(d));p=ringCentroid(d);m=h===0?g:-g;n+=m;i+=p[0]*m;r+=p[1]*m;if(h===0&&g>l){e=[p,g],o=e[0],l=e[1]}}}o=o||[0,0];return{area:n>0?n:0,c:n>0?[i/n,r/n]:o,label:o}};clone=function(t){return t.map(function(t){return t.map(function(t){return t.map(function(t){return[t[0],t[1]]})})})};eachPoint=function(t,e){var n,i,r,o,l,a,u,s,c,f,h,d=[];for(n=0,i=t.length;n<i;++n){r=t[n];o=[];for(l=0,a=r.length;l<a;++l){u=r[l];s=[];for(c=0,f=u.length;c<f;++c){h=u[c];s.push(e(h))}o.push(s)}d.push(o)}return d};cartogram=function(t,e,n){var i,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x,k,M,_,A,j;n==null&&(n=15);i=t.filter(function(t){return t.v!=null&&isFinite(t.v)&&metrics(t.polys).area>0});if(i.length<2){return}r=[];for(o=0,l=e.length;o<l;++o){a=e[o];eachPoint(a,P)}for(o=0;o<n;++o){u=o;s=i.map(z);c=s.reduce(S,0);f=s.reduce(I,0);if(!(f>0)){return}h=0;d=s.map(O);g=1/(1+h/d.length);for(p=0,l=r.length;p<l;++p){m=r[p];b=[0,0],v=b[0],y=b[1];for(w=0,x=d.length;w<x;++w){k=d[w];M=m[0]-k.x;_=m[1]-k.y;A=Math.sqrt(M*M+_*_);if(A<1e-9){continue}j=A>k.r?k.f*k.r/A:k.f*(A*A/(k.r*k.r))*(4-3*A/k.r);v+=j*M/A;y+=j*_/A}m[0]+=g*v;m[1]+=g*y}}function P(t){return r.push(t)}function z(t){var e;return{m:metrics(t.polys),v:(e=t.v)>0?e:0}}function S(t,e){return t+e.m.area}function I(t,e){return t+e.v}function O(t){var e,n,i,r,o,l,a;e=t.m,n=t.v;i=(r=c*n/f)>(o=c*1e-4)?r:o;l=(r=e.area)>1e-9?r:1e-9;h+=(l>i?l:i)/(l<i?l:i);a=Math.sqrt(l/Math.PI);return{x:e.c[0],y:e.c[1],r:a,f:Math.sqrt(i/Math.PI)-a}}};relax=function(t,e,n){var i,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x,k,M;e==null&&(e=0);n==null&&(n=160);for(i=0,r=n+120;i<r;++i){o=i;l=o<n?.12*(1-o/n):0;if(l){for(a=0,u=t.length;a<u;++a){s=t[a];s.x+=(s.tx-s.x)*l;s.y+=(s.ty-s.y)*l}}for(a=0,c=t.length;a<c;++a){f=a;h=t[f];for(d=f+1,g=t.length;d<g;++d){p=d;m=t[p];b=m.x-h.x;v=m.y-h.y;y=h.r+m.r+e;if(Math.abs(b)>=y||Math.abs(v)>=y){continue}w=Math.sqrt(b*b+v*v);if(w>=y){continue}if(w<1e-6){x=[.001*(p-f),0,.001*(p-f)],b=x[0],v=x[1],w=x[2]}k=(y-w)/w;M=m.r*m.r/(h.r*h.r+m.r*m.r);h.x-=b*k*M;h.y-=v*k*M;m.x+=b*k*(1-M);m.y+=v*k*(1-M)}}}return t};pieArcs=function(i,t){var r,o,l,e,n,a,u,s,c,f,h,d,g,p,m,b,v;i=i.map(function(t){if(isFinite(t)&&t>0){return t}else{return 0}});r=i.reduce(function(t,e){return t+e},0);if(!(r>0)){return[]}o=i.length;if(t==="desc"||o<2){l=0;return function(){var t,e,n=[];for(t=0,e=o;t<e;++t){n.push(t)}return n}().sort(function(t,e){return i[e]-i[t]||t-e}).map(function(t){var e,n;e=tau*i[t]/r;n={i:t,a0:l,a1:l+e};l+=e;return n})}n=[];for(a=2;a<o;++a){u=a;n.push(u)}e=n;s=e.slice(0,Math.ceil(e.length/2));c=e.slice(s.length);f=s.concat([1],c,[0]);h=function(t){if(t===0){return tau*3/4}else if(t===1){return tau/4}else if(in$(t,s)){return 0}else{return tau/2}};d=0;g=[0,0],p=g[0],m=g[1];b=f.map(function(t){var e,n;e=tau*i[t]/r;n=h(t)-(d+e/2);p+=Math.cos(n);m+=Math.sin(n);d+=e;return e});v=Math.atan2(m,p);l=v;return f.map(function(t,e){var n;n={i:t,a0:l,a1:l+b[e]};l+=b[e];return n})};wedge=function(e,n,i,t,r){var o,l,a,u,s,c;if(r-t>=tau-1e-6){return"M"+e+","+(n-i)+"A"+i+","+i+" 0 1 1 "+e+","+(n+i)+"A"+i+","+i+" 0 1 1 "+e+","+(n-i)+"Z"}o=function(t){return[e+i*Math.sin(t),n-i*Math.cos(t)]};l=o(t),a=l[0],u=l[1];l=o(r),s=l[0],c=l[1];return"M"+e+","+n+"L"+a+","+u+"A"+i+","+i+" 0 "+(r-t>Math.PI?1:0)+" 1 "+s+","+c+" Z"};toRgb=function(t,e){var n,i,r,o;t=t.value||t;if(typeof t==="string"&&(n=/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(t.trim()))){i=n[1];if(i.length===3){i=i.split("").map(function(t){return t+t}).join("")}return[0,1,2].map(function(t){return parseInt(i.substr(t*2,2),16)})}try{r=e.rgb(t);return[r.r,r.g,r.b].map(function(t){return Math.round(t)})}catch(t){o=t;return[128,128,128]}};rgbStr=function(t,i){i==null&&(i=1);return"rgb("+t.map(function(t){var e,n;return(e=(n=Math.round(t*i))>0?n:0)<255?e:255}).join(",")+")"};ramp=function(l){return function(t){var e,n,i,r,o;if(!(l&&l.length)){return[200,200,200]}if(l.length===1){return l[0]}t=(e=(n=isNaN(t)?0:t)>0?n:0)<1?e:1;i=t*(l.length-1);r=(e=Math.floor(i))<(n=l.length-2)?e:n;o=i-r;return[0,1,2].map(function(t){return l[r][t]+(l[r+1][t]-l[r][t])*o})}};rank=function(s){return function(t){var e,n,i,r,o,l,a,u;e=s.length;if(e<2){return.5}if(t<=s[0]){return 0}if(t>=s[e-1]){return 1}n=[0,e-1],i=n[0],r=n[1];while(r-i>1){o=i+r>>1;if(s[o]<=t){i=o}else{r=o}}l=i;while(l>0&&s[l-1]===s[i]){l--}a=i;while(a<e-1&&s[a+1]===s[i]){a++}u=s[i]===t?(l+a)/2:i+(t-s[i])/(s[i+1]-s[i]||1);return u/(e-1)}};unrank=function(a){return function(t){var e,n,i,r,o,l;e=a.length;if(!e){return 0}n=((i=t>0?t:0)<1?i:1)*(e-1);r=(i=(o=Math.floor(n))<(l=e-2)?o:l)>0?i:0;if(e===1){return a[0]}return a[r]+(a[r+1]-a[r])*(n-r)}};palettes={sequential:{name:"orange",colors:["#fff5eb","#fdd0a2","#fd8d3c","#d94801","#7f2704"]},diverging:{name:"rdbu",colors:["#2166ac","#67a9cf","#f7f7f7","#ef8a62","#b2182b"]}};townWords=["全區","全部","總計","合計","小計","全鄉","全鎮","全市","全區合計","total","all"];mod=function(t){var e,n,o,T,V,X,Et,J,i,K,ft;e=t.context,n=t.t,o=t.data,T=t.manager,V=t.cls;X=e.chart,Et=e.ldcolor,J=e.topojson;i=X.utils,K=i.format,ft=i.anim.join;n=n||function(t){return t};return Promise.resolve().then(function(){var t,B,e,Z,H,n,G,i,r;t=o.level||"county/臺北市";B=t==="town";e=B?[]:t.split("/");Z=e[1]||"";H=e[2];n="county/"+Z;G=B?{file:"town.map.js",type:"town",upper:"county",len:5,un:"c",ln:"t",sample:"全國"}:{file:n+".village.map.js",type:n+"/village",upper:"town",len:8,un:"t",ln:"v",sample:Z};i="2.6.0";r=[{name:"pdmaptw",version:i,path:"index.min.js",async:false},{name:"pdmaptw",version:i,path:G.file,async:false}];return T.rescope.load(r,V.context()).then(function(t){var F;F=t.pdmaptw;return F.get(G.type).then(function(t){var q,e,R,a,n,r,i,o,l,u,s,c,f,h,d,g,p,m,b,v,y,w,x,k,M,_,A,E,$,j,P,L,z,C,S,W,I,O;q=function(t){return F.normalize((t!=null?t:"")+"").trim()};e=q(Z);R=function(t){return q(t).replace(e,"")};a=F.projection();n=function(t,o,e){var n,l;if(!(t&&t.topo.objects[e])){return[]}n=t.topo,l=t.meta;return J.feature(n,n.objects[e]).features.map(function(t){var e,n,i,r;e=t.properties;n=t.geometry||{};i=n.type==="Polygon"?[n.coordinates]:n.type==="MultiPolygon"?n.coordinates:[];i=i.map(function(t){return t.map(function(t){return t.map(function(t){return a(t)})})});r=function(t){if(e[t]!=null){return q(l.name[e[t]])}else{return""}};return{code:e.code,level:o,town:r(G.un),village:r(G.ln),polys:i,tcode:(e.code+"").substring(0,G.len)}})};r=n(t,"town",G.upper);i=n(t,"village","pdmaptw");if(H){r=r.filter(function(t){return t.code===H||t.town===q(H).replace(q(Z),"")});o=Object.fromEntries(r.map(function(t){return[t.code,true]}));i=i.filter(function(t){return o[t.tcode]})}l=r.length?(u=Object.fromEntries(r.map(function(t){return[t.code,true]})),s=J.merge(t.topo,t.topo.objects[G.upper].geometries.filter(function(t){return u[t.properties.code]})),(s.type==="Polygon"?[s.coordinates]:s.coordinates).map(function(t){return t.map(function(t){return t.map(function(t){return a(t)})})})):[];c=function(t){return Math.abs(ringArea(t[0]))};f=l.reduce(function(t,e){return t+c(e)},0);h=function(t){var i;i=[Infinity,Infinity,-Infinity,-Infinity];eachPoint(t,function(t){var e,n;return i=[(e=i[0])<(n=t[0])?e:n,(e=i[1])<(n=t[1])?e:n,(e=i[2])>(n=t[0])?e:n,(e=i[3])>(n=t[1])?e:n]});return i};d=h(l.filter(function(t){return c(t)>=f*.01}));g=Math.hypot(d[2]-d[0],d[3]-d[1]);p=l.filter(function(t){var e,n,i,r,o,l;e=h([t]);n=(i=(r=d[0]-e[2])>(o=e[0]-d[2])?r:o)>0?i:0;l=(i=(r=d[1]-e[3])>(o=e[1]-d[3])?r:o)>0?i:0;return Math.hypot(n,l)<=g*2});m=[Infinity,Infinity,-Infinity,-Infinity],b=m[0],v=m[1],y=m[2],w=m[3];eachPoint(p,function(t){var e;b=b<(e=t[0])?b:e;v=v<(e=t[1])?v:e;y=y>(e=t[0])?y:e;return w=w>(e=t[1])?w:e});x=p.length<l.length;k=1e3/(y-b||1);for(M=0,_=(m=r.concat(i,[{polys:l}])).length;M<_;++M){A=m[M];eachPoint(A.polys,N)}E=1e3;$=(w-v)*k;for(M=0,_=(m=r.concat(i)).length;M<_;++M){A=m[M];import$(A,metrics(A.polys))}j={};for(M=0,_=i.length;M<_;++M){P=i[M];(j[L=P.tcode]||(j[L]=[])).push(P)}z={};for(M=0,_=(m=r.concat(i)).length;M<_;++M){A=m[M];z[A.code]=A}C={};for(M=0,_=r.length;M<_;++M){S=r[M];C[S.town]=S}W={};for(M=0,_=i.length;M<_;++M){P=i[M];W[P.tcode+"/"+P.village]=P}I={towns:r,villages:i,outline:l,main:p,overflow:x,W:E,H:$,villOf:j,feat:z,national:B};return{sample:function(){var t;t=T.getUrl({ns:V.ns,name:V.name,version:V.version,path:"sample/"+G.sample+".json",type:"json"});return fetch(t).then(function(t){if(t.ok){return t.json()}else{return Promise.reject(new Error(t.status+""))}})["catch"](function(t){console.warn("[twmapadv] sample data for "+G.sample+" not found:",t);return{head:[],units:{},rows:[]}}).then(function(t){var e,n,i;e=t.head,n=t.units,i=t.rows;if(H){i=i.filter(function(t){return in$(q(t[0]),r.map(function(t){return t.town}))})}return{raw:i.map(function(n){return Object.fromEntries(e.map(function(t,e){return[t,n[e]]}))}),binding:{town:{key:e[0]},village:{key:e[1]},value:{key:"人口密度",unit:n.人口密度},size:{key:"人口",unit:n.人口},cat:{key:"高齡分級"},parts:[{key:"男",unit:n.男},{key:"女",unit:n.女}]}}})},config:(m=X.utils.config.from({preset:"default",tip:"tip"}),m.mode={type:"choice",values:["map","cartogram","bubble"],default:"map"},m.colorBy={type:"choice",values:["auto","value","cat"],default:"auto"},m.heat={mode:{type:"choice",values:["sequential","diverging"],default:"sequential"},scale:{type:"choice",values:["linear","log","pow","quantile"],default:"linear"},exponent:{type:"number",default:.5,min:.1,max:5,step:.1},center:{mode:{type:"choice",values:["median","mean","manual"],default:"median"},value:{type:"number",default:0}},symmetric:{type:"boolean",default:true},steps:{type:"number",default:0,min:0,max:12,step:1},sequential:{type:"palette",default:palettes.sequential},diverging:{type:"palette",default:palettes.diverging},empty:{type:"color",default:"#e5e5e5"}},m.legend=(O=import$({},X.utils.config.preset.legend),O.format={type:"format",default:".3s"},O),m.village={mode:{type:"choice",values:["click","all","none"],default:"click"},aggregate:{type:"choice",values:["sum","mean","none"],default:"sum"},domain:{type:"choice",values:["level","shared"],default:"level"},zoom:{type:"boolean",default:false}},m.border={color:{type:"color",default:"#fff"},width:{type:"number",default:1,min:0,max:20,step:.1},linejoin:{type:"choice",values:["round","bevel","miter"],default:"round"},village:{color:{type:"color",default:"#fff"},width:{type:"number",default:.4,min:0,max:20,step:.1}}},m.extrude={enabled:{type:"boolean",default:false},height:{type:"number",default:.25,min:0,max:2,step:.01},tilt:{type:"number",default:55,min:0,max:85,step:1},angle:{type:"number",default:-20,min:-180,max:180,step:1},rotate:{type:"choice",values:["drag","auto","both","none"],default:"drag"},speed:{type:"number",default:12,min:-180,max:180,step:1},base:{enabled:{type:"boolean",default:true},color:{type:"color",default:"#d8d8d8"}},shade:{type:"number",default:.25,min:0,max:1,step:.01}},m.cartogram={iteration:{type:"number",default:15,min:1,max:60,step:1}},m.bubble={scale:{type:"number",default:1,min:.1,max:4,step:.05},overlap:{type:"boolean",default:false},padding:{type:"number",default:1,min:0,max:20,step:.5},leader:{type:"boolean",default:true},leaderColor:{type:"color",default:"#999"},basemap:{type:"boolean",default:true},basemapColor:{type:"color",default:"#eeeeee"},stroke:{type:"color",default:"#fff"},strokeWidth:{type:"number",default:.5,min:0,max:10,step:.1},pie:{type:"choice",values:["side","desc","none"],default:"side"}},m.label={enabled:{type:"boolean",default:true},village:{type:"boolean",default:false},font:X.utils.config.from({preset:"font"}),color:{type:"color",default:"#222"},halo:{type:"color",default:"#fff"},haloWidth:{type:"number",default:2,min:0,max:10,step:.5}},m.filterLevel={type:"choice",values:["town","village"],default:"town"},m),dimension:{town:{type:"N",name:B?"county":"town",priority:1},village:{type:"N",name:B?"town":"village",priority:2},value:{type:"R",name:"value",priority:3},size:{type:"R",name:"size",priority:4},cat:{type:"C",name:"category",priority:5},parts:{type:"R",name:"proportion",priority:6,multiple:true}},init:function(){var e,t,n,i,r,o,l,a,u,s,c,f,h=this;this.geo=I;this.expanded={};this.angle=null;this.tint=e=new X.utils.tint;this.g=Object.fromEntries(["view","legend","scale"].map(function(t){return[t,h.layout.getGroup(t)]}));import$(this.g,Object.fromEntries(["bg","base","units","solid","outline","leader","bubble","label"].map(function(t){return[t,mk(h.g.view,"g",t)]})));this.pool=[];this._t3=document.createElementNS(svgns,"g");this.g.bg=mk(this.g.bg,"rect");this.clip=mk(mk(mk(this.g.view,"defs"),"clipPath"),"rect");this.clip.parentNode.setAttribute("id","tmap-clip-"+Math.random().toString(36).substring(2));this.g.bg.setAttribute("fill","transparent");this.node={};for(t=0,i=(n=I.towns.concat(I.villages)).length;t<i;++t){r=n[t];o=mk(this.g.units,"g","unit "+r.level);o.__data__={code:r.code,_raw:null};l=mk(o,"path","top");l.__data__=o.__data__;a=mk(this.g.bubble,"g","bubble "+r.level);a.__data__=o.__data__;u=mk(this.g.label,"text");u.setAttribute("text-anchor","middle");u.setAttribute("dominant-baseline","central");u.setAttribute("paint-order","stroke");u.style.pointerEvents="none";s=mk(this.g.leader,"line");s.setAttribute("stroke-dasharray","2 2");this.node[r.code]={g:o,top:l,bubble:a,label:u,line:s}}this.base={top:mk(this.g.base,"path"),wall:mk(this.g.base,"path")};this.outline={};for(t=0,i=(n=I.towns).length;t<i;++t){c=n[t];this.outline[c.code]=mk(this.g.outline,"path");this.outline[c.code].setAttribute("fill","none")}this.g.outline.style.pointerEvents="none";this.g.leader.style.pointerEvents="none";this.legend=new X.utils.legend({root:this.root,name:"legend",layout:this.layout,shape:function(t){return this.setAttribute("fill",e.get(t.key))}});this.legend.on("select",function(){h.bind();h.resize();return h.render()});this.tip=new X.utils.tip({root:this.root,accessor:function(t){var e,n,i;e=t.evt;if(!(e.target&&(n=e.target.__data__)&&n.code&&(i=h.geo.feat[n.code]))){return null}return h.local.tip(i)},range:function(){return h.layout.getNode("view").getBoundingClientRect()}});n=this.tip.tip.style;n.maxWidth="16em";n.whiteSpace="pre-line";f=null;this.g.view.addEventListener("pointerdown",function(t){return f=h.drag={x:t.clientX,moved:false,angle:h.local.angle()}});this.root.addEventListener("pointermove",function(t){var e,n;if(!f){return}if(!t.buttons){return f=h.drag=null}e=t.clientX-f.x;if(Math.abs(e)>3){f.moved=true}if(!(f.moved&&h.local.is3d()&&((n=h.cfg.extrude.rotate)==="drag"||n==="both"))){return}h.angle=f.angle-e*.5;return h.local.draw(true)});this.root.addEventListener("pointerup",function(){h.drag=null;return setTimeout(function(){return f=null},0)});return this.g.view.addEventListener("click",function(t){var e;if(f&&f.moved){return}e=(t.target||{}).__data__;if(e&&e.code){return h.local.click(t,h.geo.feat[e.code])}else{return h.local.reset()}})},destroy:function(){this.tip.destroy();return this.legend.destroy()},filter:function(t,e){},parse:function(){var n,t,e,i,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x,k,M=[],_=this;n=function(t){if(t!=null&&t!==""&&!isNaN(+t)){return+t}else{return undefined}};this.rec={};t=function(t){var e;e=Array.isArray(t.parts)?t.parts:t.parts!=null?[t.parts]:[];return{value:n(t.value),size:n(t.size),cat:t.cat,parts:e.map(n),row:t}};for(e=0,r=(i=this.data).length;e<r;++e){o=i[e];l=((o.town!=null?o.town:"")+"").trim();a=((o.village!=null?o.village:"")+"").trim();u=this.geo.feat[l]||C[R(l)];if(u&&u.level==="village"){this.rec[u.code]=(s=t(o),s.keys=[o.town],s);continue}if(!u&&this.geo.feat[a]){u=this.geo.feat[this.geo.feat[a].tcode]}if(!u||u.level!=="town"){continue}if(!a||in$(a.toLowerCase(),townWords)){this.rec[u.code]=(s=t(o),s.keys=[o.town],s)}else{c=this.geo.feat[a]||W[u.code+"/"+q(a)]||W[u.code+"/"+q(a).replace(u.town,"")];if(c&&c.level==="village"){this.rec[c.code]=(s=t(o),s.keys=[o.town],s.vname=o.village,s)}}}f=this.cfg.village.aggregate;for(e=0,r=(i=this.geo.towns).length;e<r;++e){l=i[e];if(this.rec[l.code]||f==="none"){continue}h=(this.geo.villOf[l.code]||[]).map(A).filter(j);if(!h.length){continue}d=P;g={};for(p=0,m=h.length;p<m;++p){b=h[p];if(b.cat!=null){g[b.cat]=(g[b.cat]||0)+1}}v=z().sort(S)[0];w=Math.max.apply(null,h.map(I));x=O().map(E);k=Array.from(new Set([].concat.apply([],h.map($))));M.push(this.rec[l.code]={value:d("value"),size:d("size"),cat:v,parts:x,keys:k,agg:true})}return M;function A(t){return _.rec[t.code]}function j(t){return t}function P(e){var t,n;t=h.map(function(t){return t[e]}).filter(function(t){return t!=null});if(!t.length){return undefined}n=t.reduce(function(t,e){return t+e},0);if(f==="mean"){return n/t.length}else{return n}}function z(){var t=[];for(y in g){t.push(y)}return t}function S(t,e){return g[e]-g[t]}function I(t){return t.parts.length}function O(){var t,e,n=[];for(t=0,e=w;t<e;++t){n.push(t)}return n}function E(e){var t,n;t=h.map(function(t){return t.parts[e]}).filter(function(t){return t!=null});if(!t.length){return undefined}n=t.reduce(function(t,e){return t+e},0);if(f==="mean"){return n/t.length}else{return n}}function $(t){return t.keys}},resize:function(){var t;this.root.querySelector(".pdl-layout").classList.toggle("legend-bottom",this.cfg.legend.position==="bottom");this.tip.toggle(((t=this.cfg).tip||(t.tip={})).enabled!=null?this.cfg.tip.enabled:true);this.legend.config(this.cfg.legend);this.local.prepare();this.legend.update(false);this.layout.update(false);return this.box=this.layout.getBox("view")},render:function(){if(!this.box){return}this.local.draw();this.local.drawScale();this.legend.render();if(this.local.autoRotate()){return this.start()}else{return this.stop()}},tick:function(t,e){e==null&&(e=0);if(!(this.local.autoRotate()&&e)||this.drag&&this.drag.moved){return}this.angle=this.local.angle()+this.cfg.extrude.speed*e/1e3;return this.local.draw(true)},local:{is3d:function(){return this.cfg.extrude.enabled&&this.cfg.mode!=="bubble"},angle:function(){if(this.angle!=null){return this.angle}else{return this.cfg.extrude.angle}},autoRotate:function(){var t;return this.local.is3d()&&((t=this.cfg.extrude.rotate)==="auto"||t==="both")},isPie:function(){return this.cfg.mode==="bubble"&&this.cfg.bubble.pie!=="none"&&Array.isArray(this.binding.parts)&&this.binding.parts.length>=2},colorBy:function(){if(this.cfg.colorBy==="cat"){return this.binding.cat?"cat":"value"}if(this.cfg.colorBy==="value"){return"value"}if(this.binding.value){return"value"}else if(this.binding.cat){return"cat"}else{return"value"}},expanded:function(t){var e;if(!(this.geo.villOf[t.code]||[]).length){return false}e=this.cfg.village.mode;return e==="all"||e==="click"&&this.expanded[t.code]},units:function(){var t,e,n,i,r;t=[];for(e=0,i=(n=this.geo.towns).length;e<i;++e){r=n[e];if(this.local.expanded(r)){t=t.concat(this.geo.villOf[r.code])}else{t.push(r)}}return t.filter(function(t){return t.area>0})},prepare:function(){var e,t,n,i,r,o,l,a,u,s,c,f,h,d,g,p,m,b=this;e=function(t){if(b.cfg.village.domain==="shared"){return"all"}else{return t.level}};t={};for(n in i=this.rec){r=i[n];o=this.geo.feat[n];l=t[a=e(o)]||(t[a]=[]);l.push(r)}this.dom={};for(u in t){s=t[u];c=s.map(v).filter(y).sort(w);f=s.map(x).filter(k);this.dom[u]={value:c,scale:this.local.heat(c),smax:f.length?Math.max.apply(null,f.map(M)):0};h=f.reduce(_,0);d=this.geo.W*this.geo.H*.3;this.dom[u].rmax=h?Math.sqrt(d/(Math.PI*h)):0}this.domOf=function(t){return b.dom[e(t)]||{value:[],scale:null,smax:0,rmax:0}};g=this.local.colorBy();this.tint.reset();this.tint.mode(X.utils.tint.mode.ordinal);this.tint.set(this.cfg.palette);if(this.local.isPie()){this.parts=this.binding.parts.map(function(t,e){return{key:t.name||t.key||e+1+"",text:t.name||t.key||e+1+""}});this.legend.data(this.parts.map(function(t,e){return t.value=-e,t}))}else if(g==="cat"){p=[];for(n in i=this.rec){r=i[n];if(r.cat!=null&&!in$(r.cat,p)){p.push(r.cat)}}p.sort();this.legend.data(p.map(function(t){return{key:t,text:t+""}}))}else{this.legend.data([])}this.showScale=!this.local.isPie()&&g==="value"&&this.binding.value!=null&&this.cfg.legend.enabled!==false;m=this.layout.getNode("scale");return m.style.display=this.showScale?"":"none";function v(t){return t.value}function y(t){return t!=null&&isFinite(t)}function w(t,e){return t-e}function x(t){if(t.size!=null){return t.size}else{return t.value}}function k(t){return t!=null&&isFinite(t)}function M(t){return Math.abs(t)}function _(t,e){return t+Math.abs(e)/(b.dom[u].smax||1)}},heat:function(t){var e,n,r,i,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y;if(!t.length){return null}e=this.cfg.heat;n=e.exponent||.5;r=function(){switch(e.scale){case"log":return function(t){return(t<0?-1:1)*Math.log10(1+Math.abs(t))};case"pow":return function(t){if(t<0){return-Math.pow(-t,n)}else{return Math.pow(t,n)}};case"quantile":return rank(t);default:return function(t){return t}}}();i=[t[0],t[t.length-1]],o=i[0],l=i[1];a=e.mode==="diverging";u=!a?null:e.center.mode==="manual"?e.center.value:e.center.mode==="mean"?t.reduce(function(t,e){return t+e},0)/t.length:(s=t.length/2,t.length%2?t[Math.floor(s)]:(t[s-1]+t[s])/2);if(a&&e.symmetric){c=Math.max(Math.abs(r(l)-r(u)),Math.abs(r(u)-r(o)));i=[r(u)-c,r(u)+c],f=i[0],h=i[1]}else{i=[r(o),r(l)],f=i[0],h=i[1]}d=a?r(u):null;g=Math.round(e.steps||0);p=function(t){var e,n,i;e=r(t);n=!a?(e-f)/(h-f||1):e<d?.5*(e-f)/(d-f||1):.5+.5*(e-d)/(h-d||1);n=(i=n>0?n:0)<1?i:1;if(g>1){n=Math.min(g-1,Math.floor(n*g))/(g-1)}return n};m=a?e.diverging:e.sequential;b=(m&&m.colors&&m.colors.length&&m.colors||palettes[a?"diverging":"sequential"].colors).map(function(t){return toRgb(t,Et)});v=ramp(b);y=function(){switch(e.scale){case"log":return function(t){return(t<0?-1:1)*(Math.pow(10,Math.abs(t))-1)};case"pow":return function(t){return(t<0?-1:1)*Math.pow(Math.abs(t),1/n)};case"quantile":return unrank(t);default:return function(t){return t}}}();return{t:p,lo:o,hi:l,center:u,color:v,div:a,inv:y,tlo:f,thi:h,tc:d}},color:function(t){var e,n;e=this.rec[t.code];if(!e){return null}if(this.local.colorBy()==="cat"){return e.cat!=null&&this.legend.isVisible(e.cat)?toRgb(Et.web(this.tint.get(e.cat)),Et):null}n=this.domOf(t).scale;if(!(n&&e.value!=null&&isFinite(e.value))){return null}return n.color(n.t(e.value))},height:function(t){var e,n,i,r,o,l,a;e=this.rec[t.code];if(!e){return 0}n=e.value!=null?e.value:e.size;i=this.domOf(t).value;if(!(n!=null&&i.length)){return 0}r=(o=i[0])<0?o:0;l=i[i.length-1];if(l<=r){return 1}return(o=(a=(n-r)/(l-r))>0?a:0)<1?o:1},ratio:function(t,e,n){var i;i=this.rec[t.code];if(!(i&&i.row&&i.row.subset)){return null}e=e||(this.binding.size?"size":"value");return this.subset.ratio(i.row,e,n)},picked:function(t){var e,n,i,r,o,l,a,u;e=(n=((this.cfg.common||{}).subset||{}).opacity)!=null?n:.2;i=this.rec[t.code]||{};r=this.subset.mode();if((r==="dim"||r==="partial"&&this.cfg.mode!=="bubble")&&this.local.ratio(t)===0){return e}o=t.level==="village"?this.rec[t.tcode]||{}:i;l=((this.binding.town||{}).filter||{}).value;a=((this.binding.village||{}).filter||{}).value;u=i.keys||o.keys||[];if(l&&!u.some(function(t){return in$(t,l)})){return e}if(a&&t.level==="village"&&!(i.vname!=null&&in$(i.vname,a))){return e}if(this.local.colorBy()==="cat"&&!this.local.isPie()&&i.cat!=null&&!this.legend.isSelected(i.cat)){return this.legend.opacity()}return 1},shape:function(){var t,e,n,i,r,o,l,a,u,s,c,f,h,d,g,p,m=this;t=this.cfg.mode;e=this.cfg.village.mode==="all";n=function(t){var e,n;e=m.rec[t.code];if(!e){return undefined}n=e.size!=null?e.size:e.value;if(n!=null){return Math.abs(n)}else{return undefined}};i=[t,e,this.cfg.cartogram.iteration].join("/")+(t==="cartogram"?"/"+this.geo.towns.concat(this.geo.villages).map(n).join(","):"");if(this._shape&&this._shape.key===i){return this._shape}r={};for(o=0,a=(l=this.geo.towns.concat(this.geo.villages)).length;o<a;++o){u=l[o];r[u.code]=u.polys}s=this.geo.outline;if(t==="cartogram"){r={};for(o=0,a=(l=this.geo.towns.concat(this.geo.villages)).length;o<a;++o){u=l[o];r[u.code]=clone(u.polys)}s=clone(this.geo.outline);c=e&&this.geo.villages.some(function(t){return m.rec[t.code]})?this.geo.villages:this.geo.towns;f=c.map(function(t){return{polys:r[t.code],v:n(t)}});h=[s].concat(this.geo.towns.concat(this.geo.villages).map(function(t){return r[t.code]}));cartogram(f,h,this.cfg.cartogram.iteration)}d={};for(g in r){p=r[g];d[g]=t==="cartogram"?metrics(p):this.geo.feat[g]}return this._shape={key:i,polys:r,outline:s,ms:d}},focus:function(){var t,e=this;if(!(this.cfg.village.zoom&&this.cfg.village.mode==="click")){return null}t=this.geo.towns.filter(function(t){return e.local.expanded(t)});if(t.length){return t}else{return null}},viewParam:function(){var t,e,n,i,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x;t=this.box;e=10;n=this.local.is3d();i=this.geo.W/2;r=this.geo.H/2;o=[this.geo.W,this.geo.H],l=o[0],a=o[1];u=this.local.focus();s=this.geo.main;if(u){c=this.local.shape();s=[].concat.apply([],u.map(function(t){return c.polys[t.code]}));o=[Infinity,Infinity,-Infinity,-Infinity],f=o[0],h=o[1],d=o[2],g=o[3];eachPoint(s,function(t){var e;f=f<(e=t[0])?f:e;h=h<(e=t[1])?h:e;d=d>(e=t[0])?d:e;return g=g>(e=t[1])?g:e});o=[(f+d)/2,(h+g)/2,d-f||1,g-h||1],i=o[0],r=o[1],l=o[2],a=o[3]}this.clip.setAttribute("width",t.width);this.clip.setAttribute("height",t.height);if(u||this.geo.overflow){this.g.view.setAttribute("clip-path","url(#"+this.clip.parentNode.id+")")}else{this.g.view.removeAttribute("clip-path")}if(!n){p=(o=Math.min((t.width-2*e)/l,(t.height-2*e)/a))>.01?o:.01;return{is3d:n,cx:i,cy:r,s:p,ox:t.width/2-i*p,oy:t.height/2-r*p}}m=this.cfg.extrude.tilt*Math.PI/180;o=[Math.cos(m),Math.sin(m)],b=o[0],v=o[1];y=0;eachPoint(s,function(t){var e;return y=y>(e=Math.hypot(t[0]-i,t[1]-r))?y:e});w=this.cfg.extrude.height*this.geo.W;x=this.geo.W*.015;p=(o=Math.min((t.width-2*e)/(2*y),(t.height-2*e)/(2*y*b+(w+x)*v)))>.01?o:.01;return{is3d:n,cx:i,cy:r,s:p,hmax:w,thick:x,ox:t.width/2,oy:t.height/2+(w-x)*v*p/2}},mkview:function(t){var n,i,r,o,l,e,a,u,s,c,f,h,d,g,p;n=t.cx,i=t.cy,r=t.s,o=t.ox,l=t.oy;if(!t.is3d){return e=import$({},t),e.pt=function(t,e){return[o+t*r,l+e*r]},e}a=this.local.angle()*Math.PI/180;u=this.cfg.extrude.tilt*Math.PI/180;e=[Math.cos(a),Math.sin(a),Math.cos(u),Math.sin(u)],s=e[0],c=e[1],f=e[2],h=e[3];d=function(t,e){return[(t-n)*s-(e-i)*c,(t-n)*c+(e-i)*s]};g=function(t,e,n){n==null&&(n=0);return[o+t*r,l+e*f*r-n*h*r]};p=function(t,e,n){var i;n==null&&(n=0);i=d(t,e);return g(i[0],i[1],n)};return e=import$({},t),e.rot=d,e.prj=g,e.pt=p,e},view:function(){return this.local.mkview(this.local.viewParam())},draw:function(t){var i,r,o,e,C,l,n,a,u,W,s,c,f,h,d,g,p,m,b,v,y,w,L,x,N,F,B,k,M,_,A,j,P,z,S,I,O,Z,H,G,T,E,V,X,$,J,K,U,q,D,R=this;t==null&&(t=false);i=this.cfg;r=this.local.view();o=this.local.shape();e=this.local.units();C=Object.fromEntries(e.map(function(t){return[t.code,true]}));l=i.mode==="bubble";this.g.bg.setAttribute("width",this.box.width);this.g.bg.setAttribute("height",this.box.height);for(n=0,a=e.length;n<a;++n){u=e[n];this.node[u.code].g.__data__._raw=((this.rec[u.code]||{}).row||{})._raw||null}if(r.is3d){return this.local.draw3d(t)}this.s3=null;this.g.solid.style.display="none";this.g.base.style.display="none";W=this.local.isPie();s=t?0:350;c=function(t,e,n){n==null&&(n=s);return R.anim.tween(t,e,{duration:n})};f=this.prev;h=f?f.v:r;d=function(t){return!f||f.is3d||!f.shown[t]};g=function(t){if(f&&f.is3d){return f.h(t)}else{return 0}};p={};m=function(t,e,n){e==null&&(e=0);n==null&&(n=r);return t.map(function(t){return t.map(function(t){if(t.length<2){return""}return"M"+t.slice(0,-1).map(function(t){return n.pt(t[0],t[1],e).map(function(t){return t.toFixed(2)}).join(",")}).join("L")+"Z"}).join("")}).join("")};b=toRgb(i.heat.empty,Et);for(n=0,a=(v=this.geo.towns.concat(this.geo.villages)).length;n<a;++n){u=v[n];y=this.node[u.code];if(!C[u.code]){y.g.style.display="none";y.bubble.style.display="none";y.line.style.display="none";continue}y.g.style.display="";w=o.polys[u.code];L=this.local.color(u);x=this.local.picked(u);N=u.level==="town"?i.border.width:i.border.village.width;F=u.level==="town"?i.border.color:i.border.village.color;B=l?i.bubble.basemap?toRgb(i.bubble.basemapColor,Et):null:L||b;if(l&&!i.bubble.basemap){y.g.style.display="none"}p[u.code]=true;if(d(u.code)){this.anim.interrupt(y.top);y.top.setAttribute("d",m(w,g(u.code),h))}c(y.top,{d:m(w),fill:B?rgbStr(B):"none",stroke:F,"stroke-width":N,"stroke-linejoin":i.border.linejoin,opacity:x})}for(n=0,a=(v=this.geo.towns).length;n<a;++n){k=v[n];M=this.outline[k.code];if(l||!this.local.expanded(k)){M.style.display="none";continue}M.style.display="";p["o:"+k.code]=true;if(d("o:"+k.code)){this.anim.interrupt(M);M.setAttribute("d",m(o.polys[k.code],g(k.code),h))}c(M,{d:m(o.polys[k.code]),stroke:i.border.color,"stroke-width":i.border.width*1.5,"stroke-linejoin":i.border.linejoin})}_=l?this.local.bubbles(e,o):null;for(n=0,a=e.length;n<a;++n){u=e[n];y=this.node[u.code];if(!l){y.bubble.style.display="none";y.line.style.display="none";continue}A=_[u.code];y.bubble.style.display="";v=r.pt(A.x,A.y),j=v[0],P=v[1];z=A.r*r.s;v=r.pt(A.tx,A.ty),S=v[0],I=v[1];x=this.local.picked(u);O=Math.hypot(S-j,I-P);if(i.bubble.leader&&!i.bubble.overlap&&O>z+1){y.line.style.display="";v=[(S-j)/O,(I-P)/O],Z=v[0],H=v[1];c(y.line,{x1:j+Z*z,y1:P+H*z,x2:S,y2:I,stroke:i.bubble.leaderColor,"stroke-width":.8,opacity:x})}else{y.line.style.display="none"}G=this.rec[u.code]||{};T=(G.row||{})._raw||null;E=W?pieArcs((G.parts||[]).map(Q),i.bubble.pie):[];if(!E.length){E=[{i:-1,a0:0,a1:tau}]}V=this.subset.mode()==="partial";X=Y;$=tt;J=et;K=ft({root:y.bubble,tag:"path",cls:"wedge",data:E,key:nt});K.exit.map(it);K.nodes.map(rt);U=!V?[]:E.filter(ot).map(lt);q=ft({root:y.bubble,tag:"path",cls:"subset",data:U,key:at});q.exit.map(ut);q.nodes.map(st);q.nodes.map(ct)}D=function(t,e,n){var i,r;n==null&&(n=0);if(l){i=_[e.code];return t.pt(i.x,i.y)}r=o.ms[e.code];return t.pt(r.label[0],r.label[1],n)};this.local.labels({units:e,dur:s,drawn:p,fresh:d,pos:function(t){if(l&&_[t.code].r*r.s<10){return null}else{return D(r,t)}},start:function(t){return D(h,t,g(t.code))}});return this.prev={is3d:false,v:r,shown:p};function Q(t,e){if(R.legend.isVisible(R.parts[e].key)){return t}else{return 0}}function Y(t){if(t.i>=0){return toRgb(Et.web(R.tint.get(R.parts[t.i].key)),Et)}else{return R.local.color(u)||b}}function tt(t){if(t.i>=0){return R.local.ratio(u,"parts",t.i)}else{return R.local.ratio(u)}}function et(t){return x*(t.i>=0&&!R.legend.isSelected(R.parts[t.i].key)?R.legend.opacity():1)}function nt(t){return t.i}function it(t){R.anim.interrupt(t);return t.remove()}function rt(t){var e,n;e=t.__data__;t.__data__=(e.code=u.code,e._raw=T,e);n=X(e);return c(t,{d:wedge(j,P,z,e.a0,e.a1),fill:rgbStr(V&&$(e)!=null?toRgb(R.subset.color(rgbStr(n)),Et):n),stroke:i.bubble.stroke,"stroke-width":i.bubble.strokeWidth,opacity:J(e)})}function ot(t){return $(t)!=null}function lt(t){return t.k=Math.sqrt($(t)),t}function at(t){return t.i}function ut(t){R.anim.interrupt(t);return t.remove()}function st(t){var e;e=t.__data__;t.setAttribute("pointer-events","none");return c(t,{d:wedge(j,P,z*e.k,e.a0,e.a1),fill:rgbStr(X(e)),opacity:J(e)})}function ct(t){return y.bubble.appendChild(t)}},labels:function(t){var e,n,i,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x=this,k=[];e=t.units,n=t.pos,i=t.start,r=t.dur,o=t.drawn,l=t.fresh,a=t.depth;u=this.cfg;s=u.label.font||{};c=u.mode==="bubble"||u.label.village?[]:this.geo.towns.filter(function(t){return x.local.expanded(t)});f=Object.fromEntries(e.concat(c).map(function(t){return[t.code,true]}));for(h=0,g=(d=this.geo.towns.concat(this.geo.villages)).length;h<g;++h){p=d[h];if(!f[p.code]){this.node[p.code].label.style.display="none"}}m=[];for(h=0,g=(d=e.concat(c)).length;h<g;++h){p=d[h];b=this.node[p.code];v=u.label.enabled&&(p.level==="town"||u.label.village)?n(p):null;if(!v){b.label.style.display="none";continue}m.push(p);b.label.style.display="";o["l:"+p.code]=true;if(l("l:"+p.code)){y=i(p);b.label.setAttribute("x",y[0]);b.label.setAttribute("y",y[1])}b.label.textContent=p.level==="town"?p.town:p.village;b.label.setAttribute("class",s.family?s.family.className||"":"");w=s.size||"1em";this.anim.tween(b.label,{x:v[0],y:v[1],fill:u.label.color,stroke:u.label.halo,"stroke-width":u.label.haloWidth,"font-size":p.level==="village"?"calc("+w+" * 0.7)":w,opacity:this.local.picked(p)},{duration:r})}if(a){m.sort(function(t,e){return a(t)-a(e)})}else{m=m.filter(function(t){return in$(t,c)})}for(h=0,g=m.length;h<g;++h){p=m[h];k.push(this.g.label.appendChild(this.node[p.code].label))}return k},adjacency:function(t){var e,n,i,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x;n=[];for(i in t){n.push(i)}e=n;r=e.join(",")+"/"+this.local.shape().key;if(this._adj&&this._adj.key===r){return this._adj.map}o=function(t,e){if(t[0]<e[0]||t[0]===e[0]&&t[1]<e[1]){return t[0]+","+t[1]+","+e[0]+","+e[1]}else{return e[0]+","+e[1]+","+t[0]+","+t[1]}};l=new Map;for(a=0,u=e.length;a<u;++a){s=e[a];for(c=0,h=(f=t[s]).length;c<h;++c){d=f[c];for(g=0,p=d.length;g<p;++g){m=d[g];for(b=0,v=m.length-1;b<v;++b){y=b;i=o(m[y],m[y+1]);if(w=l.get(i)){w.push(s)}else{l.set(i,[s])}}}}}x={};for(a=0,u=e.length;a<u;++a){s=e[a];x[s]=t[s].map(k)}this._adj={key:r,map:x};return x;function k(t){return t.map(function(i){return function(){var t,e,n=[];for(t=0,e=i.length-1;t<e;++t){n.push(t)}return n}().map(function(t){return(l.get(o(i[t],i[t+1]))||[]).find(function(t){return t!==s})||null})})}},draw3d:function(t){var e,n,i,r,o,u,l,a,s,c,f,h,d,g,p,m,b,v,y,w,x,k,M,_,A,j,P,z,S=this;e=this.cfg;for(n in i=this.node){r=i[n];r.g.style.display="none";r.bubble.style.display="none";r.line.style.display="none"}for(n in i=this.outline){o=i[n];o.style.display="none"}u=this.local.viewParam();l=this.local.shape();a=this.local.units();s=toRgb(e.heat.empty,Et);c=/^#[0-9a-f]{3}([0-9a-f]{3})?$/i.test(((e.background||"")+"").trim())?toRgb(e.background,Et):[255,255,255];f={};for(h=0,d=a.length;h<d;++h){g=a[h];p=this.local.color(g)||s;m=this.local.picked(g);f[g.code]={h:this.local.height(g)*u.hmax,fill:p.map(I),polys:l.polys[g.code]}}this.s3adj=this.local.adjacency(Object.fromEntries(a.map(function(t){return[t.code,l.polys[t.code]]})));this.s3outline=l.outline;b=a.map(function(t){return Math.sqrt(l.ms[t.code].area||0)}).filter(function(t){return t>0}).sort(function(t,e){return t-e});this.s3band=(i=(b[Math.floor(b.length/2)]||this.geo.W)*.35)>(v=this.geo.W/400)?i:v;if(t&&this.s3){return this.local.render3d()}y=this.s3||{};w=this.s3view||u;x=function(t,n){return t.reduce(function(t,e){return t+e[n]},0)/t.length};k={};for(n in f){M=f[n];_=y[n];g=this.geo.feat[n];if(!_){A=g.level==="village"?y[g.tcode]:null;j=g.level==="town"?(this.geo.villOf[n]||[]).map(O).filter(E):[];_=A?{h:A.h,fill:A.fill}:j.length?{h:x(j,"h"),fill:[0,1,2].map($)}:{h:0,fill:M.fill}}P=_.polys&&_.polys!==M.polys&&_.polys.length===M.polys.length&&_.polys.every(q);k[n]={h:_.h,fill:_.fill,polys:P?_.polys:null}}z=function(t,e,n){return t+(e-t)*n};return this.anim.tween(this._t3,{"data-t":function(o){var t,e,l,n,i;S.s3={};for(t in e=f){l=e[t];n=k[t];i=!n.polys||o>=1?l.polys:n.polys.map(r);S.s3[t]={h:z(n.h,l.h,o),fill:l.fill.map(a),polys:i}}S.s3view=import$(import$({},u),Object.fromEntries(["cx","cy","s","ox","oy"].map(function(t){return[t,z(w[t],u[t],o)]})));S.local.render3d();return o;function r(t,r){return t.map(function(t,i){return t.map(function(t,e){var n;n=l.polys[r][i][e];return[z(t[0],n[0],o),z(t[1],n[1],o)]})})}function a(t,e){return z(n.fill[e],t,o)}}},{duration:t?0:350});function I(t,e){return t*m+c[e]*(1-m)}function O(t){return y[t.code]}function E(t){return t}function $(e){return x(j.map(function(t){return{v:t.fill[e]}}),"v")}function q(t,n){return t.length===M.polys[n].length&&t.every(function(t,e){return t.length===M.polys[n][e].length})}},render3d:function(){var n,t,i,C,W,e,r,o,l,a,L,N,u,s,c,F,f,h,d,g,p,m,b,v,y,B,w,x,k,M,Z,_,H,G,A,T,j,V,P,z,S,I,O,E,$,X,J,K,U,D,Q,Y,tt,et,nt,it,rt,ot,q,lt,at,ut,st,ct,ft,ht,dt,gt,pt,mt,bt,vt,yt,wt,xt,kt,Mt,R,_t,At,jt,Pt=this;n=this.s3;if(!n){return}t=this.cfg;i=this.local.mkview(this.s3view);C=this.s3adj;W=this.local.shape();this.g.solid.style.display="";r=[];for(o in n){r.push(o)}e=r;l=function(t){return t[0].toFixed(2)+","+t[1].toFixed(2)};a=function(t,e){return i.prj(t[0],t[1],e)};L=function(t,e,n,i){return"M"+[a(t,n),a(e,n),a(e,i),a(t,i)].map(l).join("L")+"Z"};N=function(t,e,n){return[t[0]+(e[0]-t[0])*n,t[1]+(e[1]-t[1])*n]};u={};s=[Infinity,-Infinity],c=s[0],F=s[1];for(f=0,h=e.length;f<h;++f){d=e[f];s=[Infinity,-Infinity],g=s[0],p=s[1];m=[];for(b=0,v=(s=n[d].polys).length;b<v;++b){y=s[b];B=[];for(w=0,x=y.length;w<x;++w){k=w;M=y[w];Z=[];for(_=0,H=M.length;_<H;++_){G=M[_];A=i.rot(G[0],G[1]);if(A[1]<g){g=A[1]}if(A[1]>p){p=A[1]}Z.push(A)}B.push({r:Z,sgn:(ringArea(Z)>0?1:-1)*(k>0?-1:1)})}m.push(B)}u[d]={rr:m,lo:g,hi:p};if(g<c){c=g}if(p>F){F=p}}if(t.extrude.base.enabled){T=toRgb(t.extrude.base.color,Et);s=["",""],j=s[0],V=s[1];for(f=0,h=(s=this.s3outline).length;f<h;++f){y=s[f];for(b=0,v=y.length;b<v;++b){k=b;M=y[b];if(M.length<4){continue}m=M.map(zt);j+="M"+m.slice(0,-1).map(St).join("L")+"Z";P=(ringArea(m)>0?1:-1)*(k>0?-1:1);for(w=0,z=m.length-1;w<z;++w){S=w;I=[m[S],m[S+1]],O=I[0],E=I[1];if(P*(O[0]-E[0])>0){V+=L(O,E,-i.thick,0)}}}}this.base.wall.setAttribute("d",V);this.base.wall.setAttribute("fill",rgbStr(T,.8));this.base.top.setAttribute("d",j);this.base.top.setAttribute("fill",rgbStr(T));this.g.base.style.display=""}else{this.g.base.style.display="none"}$=this.s3band;X=e.length?Math.floor((F-c)/$)+1:0;r=[];for(f=0;f<X;++f){K=f;r.push([])}J=r;for(f=0,h=e.length;f<h;++f){d=e[f];A=u[d];for(b=Math.floor((A.lo-c)/$),z=Math.floor((A.hi-c)/$);b<=z;++b){o=b;J[o].push(d)}}U=function(t,e,n){var i,r,o,l,a,u,s,c,f;i=[];for(r=0,o=t.length;r<o;++r){l=r;a=t[r];u=t[(l+1)%t.length];s=[n(a[1]),n(u[1])],c=s[0],f=s[1];if(c){i.push(a)}if(c!==f){i.push(N(a,u,(e-a[1])/(u[1]-a[1])))}}return i};D=function(t,e,n){var i;i=U(t.slice(0,-1),e,function(t){return t>=e});if(i.length<3){return null}i=U(i,n,function(t){return t<=n});if(i.length<3){return null}else{return i}};Q=function(t,e,n,i){var r,o,l,a,u,s;r=e[1]-t[1];if(!r){return t[1]>=n&&t[1]<i?[0,1]:null}o=[(n-t[1])/r,(i-t[1])/r],l=o[0],a=o[1];if(l>a){o=[a,l],l=o[0],a=o[1]}o=[l>0?l:0,a<1?a:1],u=o[0],s=o[1];if(u<s){return[u,s]}else{return null}};Y=this.pool;tt={i:0};et=function(t,e,n){var i,r,o;i=Y[tt.i];if(!i){i=Y[tt.i]=mk(Pt.g.solid,"path");i._a={}}tt.i++;e.d=t;for(r in e){o=e[r];if(i._a[r]!==o){i._a[r]=o;i.setAttribute(r,o)}}return i.__data__=n};nt=1-t.extrude.shade;for(f=0,h=J.length;f<h;++f){o=f;it=J[f];if(!it.length){continue}rt=c+o*$;ot=rt+$;it.sort(It);for(b=0,v=it.length;b<v;++b){d=it[b];q=n[d];A=u[d];lt=this.geo.feat[d];at=A.lo>=rt&&A.hi<=ot;s=["","","",""],ut=s[0],st=s[1],j=s[2],ct=s[3];for(w=0,x=(s=A.rr).length;w<x;++w){ft=w;y=s[w];for(_=0,H=y.length;_<H;++_){k=_;I=y[_],M=I.r,P=I.sgn;if(M.length<4){continue}ht=at?M.slice(0,-1):D(M,rt,ot);if(ht){j+="M"+ht.map(Ot).join("L")+"Z"}dt=C[d][ft][k];for(gt=0,z=M.length-1;gt<z;++gt){S=gt;I=[M[S],M[S+1]],O=I[0],E=I[1];pt=at?[0,1]:Q(O,E,rt,ot);if(!pt){continue}I=[N(O,E,pt[0]),N(O,E,pt[1])],mt=I[0],bt=I[1];ct+="M"+l(a(mt,q.h))+"L"+l(a(bt,q.h));I=[P*(E[1]-O[1]),P*(O[0]-E[0])],vt=I[0],yt=I[1];if(yt<=0){continue}wt=dt[S]&&n[dt[S]]?n[dt[S]].h:0;if(q.h-wt<1e-6){continue}if(vt>0){st+=L(mt,bt,wt,q.h)}else{ut+=L(mt,bt,wt,q.h)}}}}xt=this.node[d].g.__data__;for(w=0,x=(s=[[ut,nt],[st,nt*nt]]).length;w<x;++w){I=s[w],kt=I[0],Mt=I[1];if(kt){R=rgbStr(q.fill,Mt);et(kt,{fill:R,stroke:R,"stroke-width":.5,"stroke-linejoin":"round","pointer-events":"visiblePainted"},xt)}}if(j){R=rgbStr(q.fill);et(j,{fill:R,stroke:R,"stroke-width":.6,"stroke-linejoin":"round","pointer-events":"visiblePainted"},xt)}if(ct){et(ct,{fill:"none",stroke:lt.level==="town"?t.border.color:t.border.village.color,"stroke-width":lt.level==="town"?t.border.width:t.border.village.width,"stroke-linejoin":t.border.linejoin,"pointer-events":"none"},xt)}}}for(f=0,h=(s=Y.splice(tt.i)).length;f<h;++f){_t=s[f];_t.remove()}At=function(t){var e;if(n[t.code]){return n[t.code].h}e=(Pt.geo.villOf[t.code]||[]).map(function(t){return n[t.code]}).filter(function(t){return t});if(e.length){return e.reduce(function(t,e){return t+e.h},0)/e.length}else{return 0}};jt=function(t){var e;e=W.ms[t.code];return i.pt(e.label[0],e.label[1],At(t))};this.local.labels({units:e.map(function(t){return Pt.geo.feat[t]}),dur:0,drawn:{},fresh:function(){return true},pos:jt,start:jt,depth:function(t){var e;e=W.ms[t.code];return i.rot(e.label[0],e.label[1])[1]}});return this.prev={is3d:true,v:i,h:function(t){if(n[t]){return n[t].h}else{return 0}},shown:{}};function zt(t){return i.rot(t[0],t[1])}function St(t){return l(a(t,0))}function It(t,e){return n[t].h-n[e].h||u[t].lo+u[t].hi-(u[e].lo+u[e].hi)}function Ot(t){return l(a(t,q.h))}},bubbles:function(t,e){var l,n,i,r,a=this;l=this.cfg.bubble;n=t.map(function(t){var e,n,i,r,o;e=a.rec[t.code]||{};n=e.size!=null?e.size:e.value;i=a.domOf(t);r=a.geo.feat[t.code];o=n!=null&&i.smax?Math.sqrt(Math.abs(n)/i.smax)*i.rmax*l.scale:0;return{code:t.code,tx:r.c[0],ty:r.c[1],x:r.c[0],y:r.c[1],r:o}});i=JSON.stringify([l.overlap,l.padding,this.box.width].concat(n.map(function(t){return[t.code,t.r.toFixed(3)]})));if(this._bubble&&this._bubble.key===i){return this._bubble.map}r=this.local.view().s;if(!l.overlap){relax(n.filter(function(t){return t.r>0}),l.padding/r)}this._bubble={key:i,map:Object.fromEntries(n.map(function(t){return[t.code,t]}))};return this._bubble.map},drawScale:function(){var i,t,e,n,r,o,l,a,u,s,c,f,h,d,g,p,m,b,v,y,w,x,k,M,_,A,j,P,z,S,I,O,E,$,q,R,C=[];i=this.g.scale;i.textContent="";if(!this.showScale){return}t=this.local.units();e=t.length&&t.every(function(t){return t.level==="village"});n=this.cfg.village.domain!=="shared"&&(e||this.local.focus())?this.geo.villages[0]:this.geo.towns[0];r=this.domOf(n).scale;if(!r){return}o=this.layout.getBox("scale");l=this.cfg.legend.position==="bottom";a=K.from(this.cfg.legend.format||".3s");u=(this.binding.value||{}).unit||"";s="tmap-grad-"+Math.random().toString(36).substring(2);c=mk(i,"defs");f=mk(c,"linearGradient");f.setAttribute("id",s);if(l){f.setAttribute("x2","100%")}else{f.setAttribute("x2","0");f.setAttribute("y1","100%");f.setAttribute("y2","0")}h=Math.round(this.cfg.heat.steps||0);d=h>1?h:24;for(g=0;g<d;++g){p=g;for(m=0,v=(b=h>1?[p/d,(p+1)/d]:[p/(d-1)]).length;m<v;++m){y=b[m];w=mk(f,"stop");w.setAttribute("offset",(y*100).toFixed(2)+"%");x=h>1?p/(h-1):p/(d-1);w.setAttribute("stop-color",rgbStr(r.color(x)))}}k=10;M=l?o.width-20:o.height-30;M=M>20?M:20;_=mk(i,"rect");_.setAttribute("fill","url(#"+s+")");A=r.inv;j=function(t){var e;e=!r.div?r.tlo+(r.thi-r.tlo)*t:t<.5?r.tlo+(r.tc-r.tlo)*t*2:r.tc+(r.thi-r.tc)*(t-.5)*2;return A(e)};P=[0,.5,1];z=function(t,e){var n;n=mk(i,"text");n.textContent=e;n.setAttribute("font-size","0.75em");n.setAttribute("fill","currentColor");if(l){n.setAttribute("x",10+M*t);n.setAttribute("y",k+14);return n.setAttribute("text-anchor","middle")}else{n.setAttribute("x",k+4);n.setAttribute("y",10+M*(1-t));return n.setAttribute("dominant-baseline","central")}};b=l?[10,0,M,k]:[0,10,k,M],S=b[0],I=b[1],O=b[2],E=b[3];for($ in b={x:S,y:I,width:O,height:E}){q=b[$];_.setAttribute($,q)}for(g=0,v=P.length;g<v;++g){R=P[g];C.push(z(R,a(j(R))+""+(R===1?u:"")))}return C},tip:function(t){var e,n,i,r,o,l,a,u,s,c,f,h;e=this.rec[t.code]||{};n=K.from(this.cfg.tip.format||".3s");i=function(t,e){if(t!=null&&isFinite(t)){return n(t)+""+((e||{}).unit||"")}else{return"-"}};r=t.level==="village"?t.village:t.town;o=[];if(this.binding.value){o.push((this.binding.value.name||this.binding.value.key)+": "+i(e.value,this.binding.value))}if(this.binding.size&&this.cfg.mode!=="map"){o.push((this.binding.size.name||this.binding.size.key)+": "+i(e.size,this.binding.size))}if(this.binding.cat&&e.cat!=null){o.push((this.binding.cat.name||this.binding.cat.key)+": "+e.cat)}if(this.local.isPie()){l=(e.parts||[]).reduce(function(t,e){return t+(e||0)},0);for(a=0,s=(u=this.binding.parts).length;a<s;++a){c=a;f=u[a];h=(e.parts||[])[c];o.push((f.name||f.key)+": "+i(h,f)+(l&&h!=null?" ("+(h/l*100).toFixed(1)+"%)":""))}}return{group:t.level==="village"?t.town:"",name:r+(e.agg?" ( "+S(this.geo.national?"aggregated-town":"aggregated")+" )":""),value:o[0]||"-",valueAlt:o.slice(1).join("\n")}},click:function(t,e){var i,n,r,o,l,a,u,s;i=t&&t.shiftKey;n=e.level==="town"?e:this.geo.feat[e.tcode];if(e.level==="town"&&this.cfg.village.mode==="click"&&(this.geo.villOf[e.code]||[]).length){if(!i){this.expanded={}}this.expanded[e.code]=true}r=function(e,n){var t;e=(e||[]).slice();n=[].concat(n);t=n.every(function(t){return in$(t,e)});if(i){if(t){return e.filter(function(t){return!in$(t,n)})}else{return Array.from(new Set(e.concat(n)))}}else if(t&&e.length===n.length){return[]}else{return n}};o=((this.binding.town||{}).filter||{}).value;l=((this.binding.village||{}).filter||{}).value;a=this.rec[e.code]||{};u=a.keys||(this.rec[n.code]||{}).keys||[];s={};if(e.level==="village"&&this.cfg.filterLevel==="village"&&this.binding.village&&a.vname!=null){l=r(l,a.vname);o=l.length?Array.from(new Set((o||[]).concat(u))):[];s.village=l.length?{type:"index",value:l}:undefined}else if(u.length){o=r(o,u);s.village=undefined;if(!i&&!o.length){delete this.expanded[n.code]}}else{return this.render()}s.town=o&&o.length?{type:"index",value:o}:undefined;if(!this.binding.town){return this.render()}return this.filter(s,true)},reset:function(){var t,e;t=function(){var t=[];for(e in this.expanded){t.push(e)}return t}.call(this).length||(this.binding.town||{}).filter||(this.binding.village||{}).filter;this.expanded={};if(!t){return}if(this.binding.town){return this.filter({town:undefined,village:undefined},true)}else{return this.render()}}}};function N(t){t[0]=(t[0]-b)*k;return t[1]=(t[1]-v)*k}})})})};function in$(t,e){var n=-1,i=e.length>>>0;while(++n<i)if(t===e[n])return true;return false}function import$(t,e){var n={}.hasOwnProperty;for(var i in e)if(n.call(e,i))t[i]=e[i];return t}</script><div plug="layout"><div class="pdl-layout"><div data-type="layout"><div class="pdl-cell" data-name="view"></div><div class="pdl-cell" data-name="legend"> </div><div class="pdl-cell" data-name="scale"><div></div></div></div><div data-type="render"></div></div></div></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@makechart/twmapadv",
|
|
3
|
-
"version": "0.0.0-stage",
|
|
4
|
-
"stub": true,
|
|
5
|
-
"description": "Temporary package placeholder for staged publishing"
|
|
6
|
-
}
|
|
1
|
+
{"name":"@makechart/twmapadv","version":"0.0.2","description":"","scripts":{"test":"mctest","test:serve":"mctest serve -o","test:dev":"mctest -l \"pdmaptw:../../../plotdb/projects/pdmaptw;@makechart/base:../base;@plotdb/chart:../../../plotdb/projects/chart;@plotdb/dash:../../../plotdb/projects/dash\"","test:dev:serve":"mctest serve -o -l \"pdmaptw:../../../plotdb/projects/pdmaptw;@makechart/base:../base;@plotdb/chart:../../../plotdb/projects/chart;@plotdb/dash:../../../plotdb/projects/dash\""},"keywords":[],"author":"zbryikt","license":"MIT","dependencies":{"@plotdb/srcbuild":"^0.0.69","fedep":"1.6.0","livescript":"^1.6.0"},"devDependencies":{"@makechart/viewer":"^0.0.4","d3-array":"^3.2.4","d3-geo":"^3.1.1","topojson-client":"^3.1.0","topojson-simplify":"^3.0.3"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"source":"內政部戶政司 村里戶數、單一年齡人口 114年9月","head":["縣市","鄉鎮","人口","人口密度","性比例","男","女","0-14歲","15-64歲","65歲以上","高齡分級"],"units":{"人口":"人","人口密度":"人/km²","男":"人","女":"人","0-14歲":"人","15-64歲":"人","65歲以上":"人"},"rows":[["南投縣","全區",468657,114,103.3,238097,230560,47329,316257,105071,"超高齡 (20–25%)"],["嘉義市","全區",260749,4355,91.8,124776,135973,31633,177714,51402,"高齡 (14–20%)"],["嘉義縣","全區",474796,243,107.1,245535,229261,39436,322237,113123,"超高齡 (20–25%)"],["基隆市","全區",360429,2614,98.2,178621,181808,33586,247698,79145,"超高齡 (20–25%)"],["宜蘭縣","全區",449999,204,100.3,225385,224614,49552,308131,92316,"超高齡 (20–25%)"],["屏東縣","全區",783931,279,102.2,396146,387785,78498,536185,169248,"超高齡 (20–25%)"],["彰化縣","全區",1213351,973,102.9,615248,598103,139550,829776,244025,"超高齡 (20–25%)"],["新北市","全區",4046037,1954,94.2,1962651,2083386,438155,2812198,795684,"高齡 (14–20%)"],["新竹市","全區",455275,3650,97.4,224688,230587,69414,313251,72610,"高齡 (14–20%)"],["新竹縣","全區",597193,422,103.6,303875,293318,89020,419331,88842,"高齡 (14–20%)"],["桃園市","全區",2352683,1928,96.8,1157457,1195226,310808,1654216,387659,"高齡 (14–20%)"],["澎湖縣","全區",106768,788,104.7,54601,52167,10078,74579,22111,"超高齡 (20–25%)"],["臺中市","全區",2867537,1277,95.1,1397989,1469548,367941,2007842,491754,"高齡 (14–20%)"],["臺北市","全區",2442991,9033,89.1,1150846,1292145,294061,1565123,583807,"超高齡 (20–25%)"],["臺南市","全區",1854682,819,98.2,918769,935913,206436,1273449,374797,"超高齡 (20–25%)"],["臺東縣","全區",208769,58,103.5,106158,102611,22559,142966,43244,"超高齡 (20–25%)"],["花蓮縣","全區",313433,68,100.4,157047,156386,33899,212860,66674,"超高齡 (20–25%)"],["苗栗縣","全區",532053,291,105.6,273324,258729,60177,365440,106436,"超高齡 (20–25%)"],["連江縣","全區",13635,458,138.1,7909,5726,1297,10025,2313,"高齡 (14–20%)"],["金門縣","全區",139689,754,98.7,69387,70302,10804,101801,27084,"高齡 (14–20%)"],["雲林縣","全區",652874,465,105.6,335399,317475,68960,443056,140858,"超高齡 (20–25%)"],["高雄市","全區",2721500,905,95.7,1331173,1390327,295932,1866887,558681,"超高齡 (20–25%)"],["南投縣","南投市",96524,1340,98.5,47892,48632,11337,64957,20230,"超高齡 (20–25%)"],["南投縣","埔里鎮",75772,441,97.4,37379,38393,7653,51031,17088,"超高齡 (20–25%)"],["南投縣","草屯鎮",97445,935,99.6,48621,48824,11048,66509,19888,"超高齡 (20–25%)"],["南投縣","竹山鎮",50076,193,103.6,25486,24590,4621,33557,11898,"超高齡 (20–25%)"],["南投縣","集集鎮",9684,243,107.8,5024,4660,730,6533,2421,"超高齡 (≥25%)"],["南投縣","名間鄉",34731,437,111.2,18289,16442,2661,23787,8283,"超高齡 (20–25%)"],["南投縣","鹿谷鄉",15509,108,114.5,8278,7231,942,9958,4609,"超高齡 (≥25%)"],["南投縣","中寮鄉",12904,89,120.5,7053,5851,791,8517,3596,"超高齡 (≥25%)"],["南投縣","魚池鄉",14158,114,111,7449,6709,1066,9409,3683,"超高齡 (≥25%)"],["南投縣","國姓鄉",16089,78,117.3,8684,7405,972,10859,4258,"超高齡 (≥25%)"],["南投縣","水里鄉",15550,139,109.2,8117,7433,1248,9938,4364,"超高齡 (≥25%)"],["南投縣","信義鄉",14934,10,113.7,7946,6988,1997,10493,2444,"高齡 (14–20%)"],["南投縣","仁愛鄉",15281,12,106.4,7879,7402,2263,10709,2309,"高齡 (14–20%)"],["嘉義市","東區",116262,3885,90,55074,61188,13694,78155,24413,"超高齡 (20–25%)"],["嘉義市","西區",144487,4825,93.2,69702,74785,17939,99559,26989,"高齡 (14–20%)"],["嘉義縣","太保市",39832,598,101.5,20064,19768,4842,28543,6447,"高齡 (14–20%)"],["嘉義縣","朴子市",40071,800,100.2,20057,20014,4560,26741,8770,"超高齡 (20–25%)"],["嘉義縣","布袋鎮",23725,299,104.5,12123,11602,1481,16248,5996,"超高齡 (≥25%)"],["嘉義縣","大林鎮",29453,455,102.2,14890,14563,2599,19472,7382,"超高齡 (≥25%)"],["嘉義縣","民雄鄉",69965,822,103.4,35560,34405,6649,49050,14266,"超高齡 (20–25%)"],["嘉義縣","溪口鄉",12684,390,115.8,6806,5878,795,8267,3622,"超高齡 (≥25%)"],["嘉義縣","新港鄉",29113,439,111.7,15360,13753,2497,19373,7243,"超高齡 (20–25%)"],["嘉義縣","六腳鄉",20128,322,114.3,10736,9392,1090,12922,6116,"超高齡 (≥25%)"],["嘉義縣","東石鄉",21800,265,112.5,11543,10257,1282,14831,5687,"超高齡 (≥25%)"],["嘉義縣","義竹鄉",15858,201,109.5,8290,7568,935,10037,4886,"超高齡 (≥25%)"],["嘉義縣","鹿草鄉",13576,248,119.4,7388,6188,826,8533,4217,"超高齡 (≥25%)"],["嘉義縣","水上鄉",47239,673,106.2,24330,22909,3324,33309,10606,"超高齡 (20–25%)"],["嘉義縣","中埔鄉",41885,321,107.2,21671,20214,3202,28881,9802,"超高齡 (20–25%)"],["嘉義縣","竹崎鄉",32296,205,113,17132,15164,2511,21439,8346,"超高齡 (≥25%)"],["嘉義縣","梅山鄉",17194,144,112.5,9104,8090,1307,10985,4902,"超高齡 (≥25%)"],["嘉義縣","番路鄉",10632,94,114.3,5671,4961,660,7168,2804,"超高齡 (≥25%)"],["嘉義縣","大埔鄉",4169,24,103.3,2118,2051,313,2893,963,"超高齡 (20–25%)"],["嘉義縣","阿里山鄉",5176,11,108.4,2692,2484,563,3545,1068,"超高齡 (20–25%)"],["基隆市","中正區",51590,3706,100.8,25903,25687,3910,35683,11997,"超高齡 (20–25%)"],["基隆市","七堵區",52280,928,99.2,26039,26241,5016,36214,11050,"超高齡 (20–25%)"],["基隆市","暖暖區",38353,1672,98.8,19063,19290,3718,27078,7557,"高齡 (14–20%)"],["基隆市","仁愛區",39824,8724,96.1,19514,20310,5123,24792,9909,"超高齡 (20–25%)"],["基隆市","中山區",45699,4196,101.7,23040,22659,3422,32079,10198,"超高齡 (20–25%)"],["基隆市","安樂區",80003,4302,96.2,39219,40784,7795,55504,16704,"超高齡 (20–25%)"],["基隆市","信義區",52680,4960,96.3,25843,26837,4602,36348,11730,"超高齡 (20–25%)"],["宜蘭縣","宜蘭市",94742,3107,94.1,45934,48808,12442,63929,18371,"高齡 (14–20%)"],["宜蘭縣","羅東鎮",69093,6114,89.2,32570,36523,10345,44564,14184,"超高齡 (20–25%)"],["宜蘭縣","蘇澳鎮",36546,407,102.8,18524,18022,3267,24559,8720,"超高齡 (20–25%)"],["宜蘭縣","頭城鎮",27947,272,105.1,14322,13625,2724,19320,5903,"超高齡 (20–25%)"],["宜蘭縣","礁溪鄉",36625,363,105.1,18769,17856,3204,25596,7825,"超高齡 (20–25%)"],["宜蘭縣","壯圍鄉",24498,620,108.7,12757,11741,2047,17443,5008,"超高齡 (20–25%)"],["宜蘭縣","員山鄉",32251,227,110.7,16944,15307,2724,23017,6510,"超高齡 (20–25%)"],["宜蘭縣","冬山鄉",52984,704,101.8,26722,26262,5426,36576,10982,"超高齡 (20–25%)"],["宜蘭縣","五結鄉",41844,1036,101.3,21053,20791,3836,29794,8214,"高齡 (14–20%)"],["宜蘭縣","三星鄉",21388,242,116.2,11497,9891,1583,14893,4912,"超高齡 (20–25%)"],["宜蘭縣","大同鄉",5970,8,115.5,3200,2770,885,4245,840,"高齡 (14–20%)"],["宜蘭縣","南澳鄉",6111,9,102.5,3093,3018,1069,4195,847,"高齡化 (7–14%)"],["屏東縣","屏東市",191815,2897,95.4,93634,98181,21976,130146,39693,"超高齡 (20–25%)"],["屏東縣","潮州鎮",53791,1262,96.7,26447,27344,5460,37461,10870,"超高齡 (20–25%)"],["屏東縣","東港鎮",45959,1487,100.1,22994,22965,5582,31963,8414,"高齡 (14–20%)"],["屏東縣","恆春鎮",28879,204,102.3,14607,14272,3286,20212,5381,"高齡 (14–20%)"],["屏東縣","萬丹鄉",48653,819,106.5,25095,23558,5003,33642,10008,"超高齡 (20–25%)"],["屏東縣","長治鄉",29278,638,104.8,14985,14293,2489,20295,6494,"超高齡 (20–25%)"],["屏東縣","麟洛鄉",10418,747,104.5,5324,5094,595,7007,2816,"超高齡 (≥25%)"],["屏東縣","九如鄉",21452,496,103.7,10923,10529,1961,14979,4512,"超高齡 (20–25%)"],["屏東縣","里港鄉",24987,358,101.3,12573,12414,2882,16899,5206,"超高齡 (20–25%)"],["屏東縣","鹽埔鄉",23237,392,108,12065,11172,1929,16180,5128,"超高齡 (20–25%)"],["屏東縣","高樹鄉",22025,233,111,11585,10440,1570,14224,6231,"超高齡 (≥25%)"],["屏東縣","萬巒鄉",18723,307,109,9766,8957,1713,12333,4677,"超高齡 (20–25%)"],["屏東縣","內埔鄉",52886,684,103.6,26905,25981,4725,36231,11930,"超高齡 (20–25%)"],["屏東縣","竹田鄉",15412,519,113.9,8208,7204,1014,10294,4104,"超高齡 (≥25%)"],["屏東縣","新埤鄉",9037,159,111.1,4757,4280,600,5997,2440,"超高齡 (≥25%)"],["屏東縣","枋寮鄉",22406,369,106.9,11574,10832,1956,14879,5571,"超高齡 (20–25%)"],["屏東縣","新園鄉",31809,699,106.9,16437,15372,2227,22591,6991,"超高齡 (20–25%)"],["屏東縣","崁頂鄉",14507,572,100.1,7258,7249,2613,8881,3013,"超高齡 (20–25%)"],["屏東縣","林邊鄉",15867,927,102.3,8025,7842,1306,10379,4182,"超高齡 (≥25%)"],["屏東縣","南州鄉",9613,510,104.5,4913,4700,577,6430,2606,"超高齡 (≥25%)"],["屏東縣","佳冬鄉",17363,536,105.9,8931,8432,1265,11614,4484,"超高齡 (≥25%)"],["屏東縣","琉球鄉",12036,1751,118.3,6523,5513,1004,8407,2625,"超高齡 (20–25%)"],["屏東縣","車城鄉",7728,129,113.8,4114,3614,566,5145,2017,"超高齡 (≥25%)"],["屏東縣","滿州鄉",6945,46,118.5,3766,3179,429,4870,1646,"超高齡 (20–25%)"],["屏東縣","枋山鄉",4906,271,107.8,2545,2361,328,3464,1114,"超高齡 (20–25%)"],["屏東縣","三地門鄉",7578,41,99.4,3778,3800,953,5433,1192,"高齡 (14–20%)"],["屏東縣","霧臺鄉",3169,10,102.6,1605,1564,325,2265,579,"高齡 (14–20%)"],["屏東縣","瑪家鄉",6642,107,100.2,3324,3318,783,4847,1012,"高齡 (14–20%)"],["屏東縣","泰武鄉",5183,42,104.6,2650,2533,735,3711,737,"高齡 (14–20%)"],["屏東縣","來義鄉",7284,45,98.1,3607,3677,980,5170,1134,"高齡 (14–20%)"],["屏東縣","春日鄉",4854,31,102.8,2460,2394,699,3405,750,"高齡 (14–20%)"],["屏東縣","獅子鄉",4815,15,104.3,2458,2357,475,3512,828,"高齡 (14–20%)"],["屏東縣","牡丹鄉",4674,27,97.7,2310,2364,492,3319,863,"高齡 (14–20%)"],["彰化縣","彰化市",221048,3354,96.1,108331,112717,28680,147447,44921,"超高齡 (20–25%)"],["彰化縣","鹿港鎮",82447,991,102.7,41780,40667,10961,56266,15220,"高齡 (14–20%)"],["彰化縣","和美鎮",86770,2267,103.2,44071,42699,9900,61265,15605,"高齡 (14–20%)"],["彰化縣","線西鄉",16062,519,106.5,8283,7779,1770,11241,3051,"高齡 (14–20%)"],["彰化縣","伸港鄉",38251,811,100.4,19168,19083,5180,26742,6329,"高齡 (14–20%)"],["彰化縣","福興鄉",44393,761,108.9,23143,21250,4708,31099,8586,"高齡 (14–20%)"],["彰化縣","秀水鄉",37443,1284,106.4,19302,18141,4436,26133,6874,"高齡 (14–20%)"],["彰化縣","花壇鄉",42904,1190,105.1,21984,20920,4061,30441,8402,"高齡 (14–20%)"],["彰化縣","芬園鄉",21438,559,110.3,11246,10192,1817,14727,4894,"超高齡 (20–25%)"],["彰化縣","員林市",122370,3097,96.6,60132,62238,16910,81987,23473,"高齡 (14–20%)"],["彰化縣","溪湖鎮",52909,1701,102.3,26750,26159,7409,35855,9645,"高齡 (14–20%)"],["彰化縣","田中鎮",38383,1111,103.9,19560,18823,3714,26027,8642,"超高齡 (20–25%)"],["彰化縣","大村鄉",39008,1278,103.6,19845,19163,4105,27925,6978,"高齡 (14–20%)"],["彰化縣","埔鹽鄉",30213,772,111.3,15914,14299,2631,21076,6506,"超高齡 (20–25%)"],["彰化縣","埔心鄉",33154,1576,105.6,17025,16129,3084,23708,6362,"高齡 (14–20%)"],["彰化縣","永靖鄉",34281,1685,106.7,17697,16584,3556,23636,7089,"超高齡 (20–25%)"],["彰化縣","社頭鄉",40352,1121,105.8,20748,19604,4225,27925,8202,"超高齡 (20–25%)"],["彰化縣","二水鄉",13277,372,111.1,6989,6288,924,8679,3674,"超高齡 (≥25%)"],["彰化縣","北斗鎮",33189,1676,100.4,16631,16558,4418,22307,6464,"高齡 (14–20%)"],["彰化縣","二林鎮",46660,505,105.8,23982,22678,4331,31746,10583,"超高齡 (20–25%)"],["彰化縣","田尾鄉",25361,1024,106.9,13103,12258,2434,17707,5220,"超高齡 (20–25%)"],["彰化縣","埤頭鄉",28021,658,106.7,14466,13555,2799,19085,6137,"超高齡 (20–25%)"],["彰化縣","芳苑鄉",29957,206,112.8,15878,14079,2438,20095,7424,"超高齡 (20–25%)"],["彰化縣","大城鄉",14210,149,117.5,7678,6532,878,9395,3937,"超高齡 (≥25%)"],["彰化縣","竹塘鄉",13948,332,111.2,7343,6605,1775,8624,3549,"超高齡 (≥25%)"],["彰化縣","溪州鄉",27302,393,108.4,14199,13103,2406,18638,6258,"超高齡 (20–25%)"],["新北市","板橋區",550256,25800,93.3,265580,284676,65350,373362,111544,"超高齡 (20–25%)"],["新北市","三重區",383035,21255,95.1,186670,196365,38605,266453,77977,"超高齡 (20–25%)"],["新北市","中和區",404507,20773,92.2,194033,210474,36658,277816,90033,"超高齡 (20–25%)"],["新北市","永和區",211631,34290,89,99634,111997,23496,136816,51319,"超高齡 (20–25%)"],["新北市","新莊區",421669,20343,93.9,204189,217480,53501,296251,71917,"高齡 (14–20%)"],["新北市","新店區",307003,2528,91.1,146345,160658,25822,208386,72795,"超高齡 (20–25%)"],["新北市","樹林區",177602,5552,98.1,87969,89633,20838,125317,31447,"高齡 (14–20%)"],["新北市","鶯歌區",89581,4092,99.5,44675,44906,10559,64369,14653,"高齡 (14–20%)"],["新北市","三峽區",115077,606,98.5,57116,57961,14261,81209,19607,"高齡 (14–20%)"],["新北市","淡水區",206758,2823,89.9,97907,108851,20697,145130,40931,"高齡 (14–20%)"],["新北市","汐止區",212788,2957,93.8,103000,109788,19014,153549,40225,"高齡 (14–20%)"],["新北市","瑞芳區",35751,494,101.9,18044,17707,2702,24624,8425,"超高齡 (20–25%)"],["新北市","土城區",242434,8080,95.1,118162,124272,27414,172180,42840,"高齡 (14–20%)"],["新北市","蘆洲區",196745,25441,95.2,95937,100808,22210,141975,32560,"高齡 (14–20%)"],["新北市","五股區",94510,2747,98.7,46952,47558,10257,69638,14615,"高齡 (14–20%)"],["新北市","泰山區",78101,4309,96.3,38317,39784,9194,55787,13120,"高齡 (14–20%)"],["新北市","林口區",138017,2537,93.6,66725,71292,23774,94157,20086,"高齡 (14–20%)"],["新北市","深坑區",23688,1129,98.7,11765,11923,1893,16912,4883,"超高齡 (20–25%)"],["新北市","石碇區",6939,49,120.5,3792,3147,382,4520,2037,"超高齡 (≥25%)"],["新北市","坪林區",6184,37,115.7,3317,2867,347,3843,1994,"超高齡 (≥25%)"],["新北市","三芝區",22125,327,105.7,11371,10754,1602,15101,5422,"超高齡 (20–25%)"],["新北市","石門區",10024,189,109.5,5239,4785,633,7046,2345,"超高齡 (20–25%)"],["新北市","八里區",43448,1091,97.7,21473,21975,4325,31425,7698,"高齡 (14–20%)"],["新北市","平溪區",3936,55,128.8,2216,1720,137,2388,1411,"超高齡 (≥25%)"],["新北市","雙溪區",7477,51,119.3,4067,3410,371,4646,2460,"超高齡 (≥25%)"],["新北市","貢寮區",10498,103,102.7,5319,5179,447,7200,2851,"超高齡 (≥25%)"],["新北市","金山區",19788,414,97.5,9768,10020,1423,14114,4251,"超高齡 (20–25%)"],["新北市","萬里區",20301,319,98.5,10072,10229,1408,13850,5043,"超高齡 (20–25%)"],["新北市","烏來區",6164,18,94.6,2997,3167,835,4134,1195,"高齡 (14–20%)"],["新竹市","東區",221997,6460,97.5,109577,112420,41125,148236,32636,"高齡 (14–20%)"],["新竹市","北區",153811,6508,95,74946,78865,19728,107045,27038,"高齡 (14–20%)"],["新竹市","香山區",79467,1191,102.2,40165,39302,8561,57970,12936,"高齡 (14–20%)"],["新竹縣","竹北市",220662,4372,98.6,109566,111096,44566,154550,21546,"高齡化 (7–14%)"],["新竹縣","竹東鎮",98074,1829,101.2,49319,48755,12629,68956,16489,"高齡 (14–20%)"],["新竹縣","新埔鎮",33655,465,114.1,17938,15717,2678,23474,7503,"超高齡 (20–25%)"],["新竹縣","關西鎮",26063,208,116.5,14022,12041,2193,17512,6358,"超高齡 (20–25%)"],["新竹縣","湖口鄉",84815,1458,101.4,42693,42122,11591,60427,12797,"高齡 (14–20%)"],["新竹縣","新豐鄉",59845,1197,105,30659,29186,8509,42834,8502,"高齡 (14–20%)"],["新竹縣","芎林鄉",20433,511,112.4,10812,9621,1651,14517,4265,"超高齡 (20–25%)"],["新竹縣","橫山鄉",11886,182,116.9,6407,5479,957,7841,3088,"超高齡 (≥25%)"],["新竹縣","北埔鄉",8334,156,121.1,4565,3769,651,5557,2126,"超高齡 (≥25%)"],["新竹縣","寶山鄉",14630,227,116.8,7883,6747,1103,10716,2811,"高齡 (14–20%)"],["新竹縣","峨眉鄉",4984,107,122.1,2740,2244,310,3150,1524,"超高齡 (≥25%)"],["新竹縣","尖石鄉",9422,18,108.8,4909,4513,1656,6656,1110,"高齡化 (7–14%)"],["新竹縣","五峰鄉",4390,21,116.5,2362,2028,526,3141,723,"高齡 (14–20%)"],["桃園市","桃園區",477988,13875,92.2,229326,248662,65525,334489,77974,"高齡 (14–20%)"],["桃園市","中壢區",438903,5754,94.7,213522,225381,59687,307606,71610,"高齡 (14–20%)"],["桃園市","大溪區",94014,892,102.5,47594,46420,11014,64742,18258,"高齡 (14–20%)"],["桃園市","楊梅區",182775,2034,99.2,91006,91769,24283,129467,29025,"高齡 (14–20%)"],["桃園市","蘆竹區",170615,2275,96.7,83861,86754,23150,122921,24544,"高齡 (14–20%)"],["桃園市","大園區",89122,987,102.2,45047,44075,11797,63409,13916,"高齡 (14–20%)"],["桃園市","龜山區",187668,2621,96.4,92136,95532,22686,134403,30579,"高齡 (14–20%)"],["桃園市","八德區",215697,6368,97.4,106411,109286,29227,150736,35734,"高齡 (14–20%)"],["桃園市","龍潭區",127511,1675,98.3,63210,64301,15737,88187,23587,"高齡 (14–20%)"],["桃園市","平鎮區",228291,5241,97.1,112481,115810,30598,159672,38021,"高齡 (14–20%)"],["桃園市","新屋區",49741,556,111.9,26262,23479,5373,33831,10537,"超高齡 (20–25%)"],["桃園市","觀音區",77143,800,106.1,39720,37423,9703,55646,11794,"高齡 (14–20%)"],["桃園市","復興區",13215,39,108.6,6881,6334,2028,9107,2080,"高齡 (14–20%)"],["澎湖縣","馬公市",63437,1814,102.7,32143,31294,6625,44738,12074,"高齡 (14–20%)"],["澎湖縣","湖西鄉",16107,463,108.8,8393,7714,1275,11460,3372,"超高齡 (20–25%)"],["澎湖縣","白沙鄉",9985,434,105.7,5131,4854,872,6850,2263,"超高齡 (20–25%)"],["澎湖縣","西嶼鄉",8052,409,105,4124,3928,604,5280,2168,"超高齡 (≥25%)"],["澎湖縣","望安鄉",5290,339,115.4,2834,2456,381,3530,1379,"超高齡 (≥25%)"],["澎湖縣","七美鄉",3897,523,102.9,1976,1921,321,2721,855,"超高齡 (20–25%)"],["臺中市","中區",18011,19584,95.3,8790,9221,3322,10571,4118,"超高齡 (20–25%)"],["臺中市","東區",77602,11482,96,38003,39599,8448,53968,15186,"高齡 (14–20%)"],["臺中市","南區",128307,16183,90.3,60869,67438,13979,93812,20516,"高齡 (14–20%)"],["臺中市","西區",113329,17810,88,53051,60278,15526,74391,23412,"超高齡 (20–25%)"],["臺中市","北區",143502,18968,89.6,67806,75696,15077,98001,30424,"超高齡 (20–25%)"],["臺中市","西屯區",237919,5943,90.2,112800,125119,32932,168380,36607,"高齡 (14–20%)"],["臺中市","南屯區",185951,6102,89.7,87927,98024,27263,133384,25304,"高齡化 (7–14%)"],["臺中市","北屯區",316894,5126,89.6,149789,167105,44108,223409,49377,"高齡 (14–20%)"],["臺中市","豐原區",161923,3882,96,79295,82628,21128,110023,30772,"高齡 (14–20%)"],["臺中市","東勢區",46648,432,102.9,23657,22991,4178,30773,11697,"超高齡 (≥25%)"],["臺中市","大甲區",73201,1230,100,36600,36601,9884,49366,13951,"高齡 (14–20%)"],["臺中市","清水區",90713,1127,103.6,46149,44564,11086,63240,16387,"高齡 (14–20%)"],["臺中市","沙鹿區",101330,2514,99.7,50594,50736,15722,71117,14491,"高齡 (14–20%)"],["臺中市","梧棲區",64880,1960,98.9,32257,32623,8964,46195,9721,"高齡 (14–20%)"],["臺中市","后里區",52795,921,100.8,26507,26288,6414,36430,9951,"高齡 (14–20%)"],["臺中市","神岡區",63450,1737,103.9,32337,31113,7175,44610,11665,"高齡 (14–20%)"],["臺中市","潭子區",109375,4223,96.5,53726,55649,13182,78502,17691,"高齡 (14–20%)"],["臺中市","大雅區",94803,2882,98.6,47056,47747,12943,67717,14143,"高齡 (14–20%)"],["臺中市","新社區",22605,275,106.8,11676,10929,1945,15290,5370,"超高齡 (20–25%)"],["臺中市","石岡區",13713,768,106.1,7060,6653,1207,9142,3364,"超高齡 (20–25%)"],["臺中市","外埔區",30865,732,103.8,15720,15145,3179,21940,5746,"高齡 (14–20%)"],["臺中市","大安區",17532,492,111,9223,8309,1480,12386,3666,"超高齡 (20–25%)"],["臺中市","烏日區",82162,1937,97.8,40625,41537,11026,58042,13094,"高齡 (14–20%)"],["臺中市","大肚區",55360,1443,102.8,28063,27297,6101,38940,10319,"高齡 (14–20%)"],["臺中市","龍井區",79137,1518,100.4,39639,39498,9816,57261,12060,"高齡 (14–20%)"],["臺中市","霧峰區",62769,651,102.9,31826,30943,6730,43106,12933,"超高齡 (20–25%)"],["臺中市","太平區",201112,1664,96.3,98680,102432,26161,142218,32733,"高齡 (14–20%)"],["臺中市","大里區",211173,7251,94.7,102688,108485,27959,148591,34623,"高齡 (14–20%)"],["臺中市","和平區",10476,10,113.8,5576,4900,1006,7037,2433,"超高齡 (20–25%)"],["臺北市","松山區",187465,21606,86.7,87077,100388,25782,115254,46429,"超高齡 (20–25%)"],["臺北市","信義區",201806,17894,88.4,94696,107110,20528,129060,52218,"超高齡 (≥25%)"],["臺北市","大安區",282653,24890,85.6,130340,152313,40550,169315,72788,"超高齡 (≥25%)"],["臺北市","中山區",212454,15102,84.2,97085,115369,22761,136760,52933,"超高齡 (20–25%)"],["臺北市","中正區",144477,19404,89.2,68108,76369,22309,88198,33970,"超高齡 (20–25%)"],["臺北市","大同區",116821,24351,91.3,55749,61072,13327,75734,27760,"超高齡 (20–25%)"],["臺北市","萬華區",169024,22589,93.3,81569,87455,14052,110809,44163,"超高齡 (≥25%)"],["臺北市","文山區",253991,8111,89.8,120194,133797,29819,168455,55717,"超高齡 (20–25%)"],["臺北市","南港區",111045,5048,93,53515,57530,12257,74530,24258,"超高齡 (20–25%)"],["臺北市","內湖區",268385,8382,89.4,126681,141704,35709,178496,54180,"超高齡 (20–25%)"],["臺北市","士林區",258695,4162,91.6,123655,135040,28776,165102,64817,"超高齡 (≥25%)"],["臺北市","北投區",236175,4082,90.5,112177,123998,28191,153410,54574,"超高齡 (20–25%)"],["臺南市","新營區",74627,1928,95.7,36484,38143,8752,49779,16096,"超高齡 (20–25%)"],["臺南市","鹽水區",23764,460,108.2,12350,11414,2068,15879,5817,"超高齡 (20–25%)"],["臺南市","白河區",25055,195,108.8,13053,12002,1791,15860,7404,"超高齡 (≥25%)"],["臺南市","柳營區",19897,322,108.6,10358,9539,1568,13261,5068,"超高齡 (≥25%)"],["臺南市","後壁區",20958,289,106.5,10807,10151,1351,13328,6279,"超高齡 (≥25%)"],["臺南市","東山區",18558,149,114.5,9907,8651,1245,11970,5343,"超高齡 (≥25%)"],["臺南市","麻豆區",42962,781,102.4,21731,21231,4483,28470,10009,"超高齡 (20–25%)"],["臺南市","下營區",21812,649,106,11225,10587,1857,14146,5809,"超高齡 (≥25%)"],["臺南市","六甲區",20930,313,106,10769,10161,1954,14042,4934,"超高齡 (20–25%)"],["臺南市","官田區",20563,284,104.3,10497,10066,1735,14327,4501,"超高齡 (20–25%)"],["臺南市","大內區",8460,119,115.3,4531,3929,488,5357,2615,"超高齡 (≥25%)"],["臺南市","佳里區",58348,1488,96.9,28714,29634,6478,39619,12251,"超高齡 (20–25%)"],["臺南市","學甲區",24413,447,105.1,12511,11902,2091,16612,5710,"超高齡 (20–25%)"],["臺南市","西港區",24847,739,101.7,12529,12318,2486,17177,5184,"超高齡 (20–25%)"],["臺南市","七股區",20580,144,107.1,10645,9935,1548,14059,4973,"超高齡 (20–25%)"],["臺南市","將軍區",17704,370,104.4,9043,8661,1062,11881,4761,"超高齡 (≥25%)"],["臺南市","北門區",9488,145,101.8,4786,4702,514,6591,2383,"超高齡 (≥25%)"],["臺南市","新化區",41974,676,102.2,21212,20762,4169,28678,9127,"超高齡 (20–25%)"],["臺南市","善化區",53800,1004,100.8,27008,26792,8426,36300,9074,"高齡 (14–20%)"],["臺南市","新市區",38302,758,101,19251,19051,5105,26790,6407,"高齡 (14–20%)"],["臺南市","安定區",29838,934,105.9,15346,14492,2955,21069,5814,"高齡 (14–20%)"],["臺南市","山上區",6838,247,111.9,3611,3227,562,4576,1700,"超高齡 (20–25%)"],["臺南市","玉井區",12709,169,106.7,6561,6148,948,8122,3639,"超高齡 (≥25%)"],["臺南市","楠西區",8436,77,112,4456,3980,474,5431,2531,"超高齡 (≥25%)"],["臺南市","南化區",7662,45,116.3,4120,3542,522,4895,2245,"超高齡 (≥25%)"],["臺南市","左鎮區",4075,56,133.7,2331,1744,176,2537,1362,"超高齡 (≥25%)"],["臺南市","仁德區",77504,1533,100.4,38832,38672,8032,54593,14879,"高齡 (14–20%)"],["臺南市","歸仁區",70530,1280,100.8,35412,35118,8574,49181,12775,"高齡 (14–20%)"],["臺南市","關廟區",33219,619,104.3,16960,16259,2870,22450,7899,"超高齡 (20–25%)"],["臺南市","龍崎區",3251,52,122.1,1787,1464,104,1996,1151,"超高齡 (≥25%)"],["臺南市","永康區",235942,5763,95.4,115193,120749,28242,169756,37944,"高齡 (14–20%)"],["臺南市","東區",180989,14000,89.9,85706,95283,24349,121218,35422,"高齡 (14–20%)"],["臺南市","南區",119431,4261,95.9,58463,60968,10327,81852,27252,"超高齡 (20–25%)"],["臺南市","北區",125412,12721,93.1,60453,64959,12901,86724,25787,"超高齡 (20–25%)"],["臺南市","安南區",204497,1743,100,102239,102258,27103,145052,32342,"高齡 (14–20%)"],["臺南市","安平區",71229,6225,87.7,33271,37958,7863,52235,11131,"高齡 (14–20%)"],["臺南市","中西區",76078,11909,92.8,36617,39461,11263,47636,17179,"超高齡 (20–25%)"],["臺東縣","臺東市",102810,907,97.1,50645,52165,12993,69834,19983,"高齡 (14–20%)"],["臺東縣","成功鎮",12824,87,110.3,6726,6098,990,8572,3262,"超高齡 (≥25%)"],["臺東縣","關山鎮",7785,129,105.9,4004,3781,825,5033,1927,"超高齡 (20–25%)"],["臺東縣","卑南鄉",16290,38,107.8,8449,7841,1353,11414,3523,"超高齡 (20–25%)"],["臺東縣","鹿野鄉",6945,87,111.9,3668,3277,442,4706,1797,"超高齡 (≥25%)"],["臺東縣","池上鄉",7563,95,104,3856,3707,691,4903,1969,"超高齡 (≥25%)"],["臺東縣","東河鄉",7737,36,119.4,4210,3527,481,5111,2145,"超高齡 (≥25%)"],["臺東縣","長濱鄉",6503,43,123.9,3599,2904,388,4285,1830,"超高齡 (≥25%)"],["臺東縣","太麻里鄉",10392,100,111.6,5481,4911,802,7160,2430,"超高齡 (20–25%)"],["臺東縣","大武鄉",5365,85,109.1,2799,2566,513,3707,1145,"超高齡 (20–25%)"],["臺東縣","綠島鄉",4340,304,117.7,2346,1994,350,3347,643,"高齡 (14–20%)"],["臺東縣","海端鄉",4335,5,106.7,2238,2097,649,3190,496,"高齡化 (7–14%)"],["臺東縣","延平鄉",3543,7,106.7,1829,1714,528,2599,416,"高齡化 (7–14%)"],["臺東縣","金峰鄉",3674,9,101.3,1849,1825,509,2646,519,"高齡 (14–20%)"],["臺東縣","達仁鄉",3419,11,115.2,1830,1589,346,2482,591,"高齡 (14–20%)"],["臺東縣","蘭嶼鄉",5244,111,100.5,2629,2615,699,3977,568,"高齡化 (7–14%)"],["花蓮縣","花蓮市",97077,3130,91.2,46303,50774,12659,64303,20115,"超高齡 (20–25%)"],["花蓮縣","鳳林鎮",10191,85,108.2,5297,4894,978,6223,2990,"超高齡 (≥25%)"],["花蓮縣","玉里鎮",21360,101,110.1,11193,10167,1883,14129,5348,"超高齡 (≥25%)"],["花蓮縣","新城鄉",20506,702,100.6,10283,10223,2134,14707,3665,"高齡 (14–20%)"],["花蓮縣","吉安鄉",83200,1319,98.3,41245,41955,7764,58387,17049,"超高齡 (20–25%)"],["花蓮縣","壽豐鄉",16709,80,111.7,8815,7894,1351,11240,4118,"超高齡 (20–25%)"],["花蓮縣","光復鄉",11381,86,111.3,5994,5387,808,7304,3269,"超高齡 (≥25%)"],["花蓮縣","豐濱鄉",4088,26,127.9,2294,1794,291,2711,1086,"超高齡 (≥25%)"],["花蓮縣","瑞穗鄉",10428,67,114.6,5568,4860,829,6668,2931,"超高齡 (≥25%)"],["花蓮縣","富里鄉",9419,55,113.4,5005,4414,818,6082,2519,"超高齡 (≥25%)"],["花蓮縣","秀林鄉",17166,11,103.3,8721,8445,2690,12420,2056,"高齡化 (7–14%)"],["花蓮縣","萬榮鄉",6050,9,109.8,3166,2884,802,4459,789,"高齡化 (7–14%)"],["花蓮縣","卓溪鄉",5858,6,117.4,3163,2695,892,4227,739,"高齡化 (7–14%)"],["苗栗縣","苗栗市",85954,2277,97.7,42487,43467,10005,57497,18452,"超高齡 (20–25%)"],["苗栗縣","苑裡鎮",43341,622,108.5,22552,20789,4250,30559,8532,"高齡 (14–20%)"],["苗栗縣","通霄鎮",30692,269,112.6,16254,14438,2533,20594,7565,"超高齡 (20–25%)"],["苗栗縣","竹南鎮",91431,2192,100.8,45905,45526,13818,64064,13549,"高齡 (14–20%)"],["苗栗縣","頭份市",108269,2041,101.6,54569,53700,15047,76284,16938,"高齡 (14–20%)"],["苗栗縣","後龍鎮",33623,389,111.5,17727,15896,3128,23411,7084,"超高齡 (20–25%)"],["苗栗縣","卓蘭鎮",14549,188,109.2,7594,6955,1104,9517,3928,"超高齡 (≥25%)"],["苗栗縣","大湖鄉",12396,136,114.7,6622,5774,946,8200,3250,"超高齡 (≥25%)"],["苗栗縣","公館鄉",30555,425,108.6,15904,14651,2971,20742,6842,"超高齡 (20–25%)"],["苗栗縣","銅鑼鄉",16127,206,112.2,8528,7599,1482,10764,3881,"超高齡 (20–25%)"],["苗栗縣","南庄鄉",8596,53,120.6,4700,3896,614,5736,2246,"超高齡 (≥25%)"],["苗栗縣","頭屋鄉",9408,182,115,5032,4376,561,6380,2467,"超高齡 (≥25%)"],["苗栗縣","三義鄉",14538,214,112.9,7711,6827,1395,9811,3332,"超高齡 (20–25%)"],["苗栗縣","西湖鄉",5907,144,130.7,3346,2561,290,3896,1721,"超高齡 (≥25%)"],["苗栗縣","造橋鄉",11588,239,113.7,6166,5422,860,7922,2806,"超高齡 (20–25%)"],["苗栗縣","三灣鄉",5702,105,122,3133,2569,471,3664,1567,"超高齡 (≥25%)"],["苗栗縣","獅潭鄉",3954,50,120.5,2161,1793,194,2497,1263,"超高齡 (≥25%)"],["苗栗縣","泰安鄉",5423,9,117.8,2933,2490,508,3902,1013,"高齡 (14–20%)"],["連江縣","南竿鄉",7634,721,129.5,4308,3326,832,5486,1316,"高齡 (14–20%)"],["連江縣","北竿鄉",2953,303,132.7,1684,1269,228,2215,510,"高齡 (14–20%)"],["連江縣","莒光鄉",1536,315,169.5,966,570,77,1154,305,"高齡 (14–20%)"],["連江縣","東引鄉",1512,330,169.5,951,561,160,1170,182,"高齡化 (7–14%)"],["金門縣","金城鎮",41159,1825,98.4,20411,20748,3514,29043,8602,"超高齡 (20–25%)"],["金門縣","金湖鎮",30535,726,99.4,15218,15317,2678,22219,5638,"高齡 (14–20%)"],["金門縣","金沙鎮",19938,367,96.8,9809,10129,1142,14296,4500,"超高齡 (20–25%)"],["金門縣","金寧鄉",35364,831,99.9,17669,17695,2796,27021,5547,"高齡 (14–20%)"],["金門縣","烈嶼鄉",12098,570,97.5,5971,6127,621,8762,2715,"超高齡 (20–25%)"],["金門縣","烏坵鄉",595,248,108,309,286,53,460,82,"高齡化 (7–14%)"],["雲林縣","斗六市",109207,1187,96.4,53608,55599,14164,75180,19863,"高齡 (14–20%)"],["雲林縣","斗南鎮",43374,896,101.9,21891,21483,4594,29528,9252,"超高齡 (20–25%)"],["雲林縣","虎尾鎮",71452,1043,100.1,35751,35701,9229,49239,12984,"高齡 (14–20%)"],["雲林縣","西螺鎮",44070,878,100.3,22069,22001,5431,29534,9105,"超高齡 (20–25%)"],["雲林縣","土庫鎮",27264,566,108.2,14171,13093,2934,18252,6078,"超高齡 (20–25%)"],["雲林縣","北港鎮",37220,892,104.7,19038,18182,4084,24757,8379,"超高齡 (20–25%)"],["雲林縣","古坑鄉",29320,176,108.3,15242,14078,2367,19773,7180,"超高齡 (20–25%)"],["雲林縣","大埤鄉",17594,396,112.5,9313,8281,1483,11951,4160,"超高齡 (20–25%)"],["雲林縣","莿桐鄉",27286,476,106.9,14100,13186,2768,18522,5996,"超高齡 (20–25%)"],["雲林縣","林內鄉",16414,314,109.7,8587,7827,1621,11061,3732,"超高齡 (20–25%)"],["雲林縣","二崙鄉",24266,398,114.6,12961,11305,1952,15997,6317,"超高齡 (≥25%)"],["雲林縣","崙背鄉",22329,390,112.3,11811,10518,2056,14680,5593,"超高齡 (≥25%)"],["雲林縣","麥寮鄉",48800,388,97.3,24064,24736,6659,34975,7166,"高齡 (14–20%)"],["雲林縣","東勢鄉",12960,278,124.2,7179,5781,891,8549,3520,"超高齡 (≥25%)"],["雲林縣","褒忠鄉",11529,323,115.1,6169,5360,957,7667,2905,"超高齡 (≥25%)"],["雲林縣","臺西鄉",20878,300,114.3,11135,9743,1537,14350,4991,"超高齡 (20–25%)"],["雲林縣","元長鄉",22586,312,120.7,12354,10232,1660,14461,6465,"超高齡 (≥25%)"],["雲林縣","四湖鄉",20322,218,120.5,11107,9215,1314,13749,5259,"超高齡 (≥25%)"],["雲林縣","口湖鄉",24085,243,114.1,12834,11251,1771,16637,5677,"超高齡 (20–25%)"],["雲林縣","水林鄉",21918,300,121.3,12015,9903,1488,14194,6236,"超高齡 (≥25%)"],["高雄市","鹽埕區",21942,13220,96.7,10786,11156,1539,14011,6392,"超高齡 (≥25%)"],["高雄市","鼓山區",140817,6351,90.4,66868,73949,19450,93887,27480,"高齡 (14–20%)"],["高雄市","左營區",197775,8718,89.6,93482,104293,24154,140078,33543,"高齡 (14–20%)"],["高雄市","楠梓區",195604,6886,94.6,95112,100492,27000,137140,31464,"高齡 (14–20%)"],["高雄市","三民區",329100,19338,91.2,156941,172159,36330,221710,71060,"超高齡 (20–25%)"],["高雄市","新興區",49354,19435,90.1,23398,25956,5290,30743,13321,"超高齡 (≥25%)"],["高雄市","前金區",27608,14016,87.3,12869,14739,1860,18112,7636,"超高齡 (≥25%)"],["高雄市","苓雅區",161503,19229,89.8,76396,85107,16873,103453,41177,"超高齡 (≥25%)"],["高雄市","前鎮區",177427,8343,94.5,86219,91208,16477,120971,39979,"超高齡 (20–25%)"],["高雄市","旗津區",25019,1719,104.5,12785,12234,1837,17754,5428,"超高齡 (20–25%)"],["高雄市","小港區",153179,2834,96.6,75256,77923,17140,107890,28149,"高齡 (14–20%)"],["高雄市","鳳山區",353431,12639,93.9,171151,182280,41893,243564,67974,"高齡 (14–20%)"],["高雄市","林園區",67447,1880,99.9,33714,33733,7079,47682,12686,"高齡 (14–20%)"],["高雄市","大寮區",112310,1598,102,56717,55593,10736,80168,21406,"高齡 (14–20%)"],["高雄市","大樹區",39988,591,103.4,20327,19661,3329,27736,8923,"超高齡 (20–25%)"],["高雄市","大社區",33791,1330,102,17066,16725,2890,24000,6901,"超高齡 (20–25%)"],["高雄市","仁武區",100067,2640,100.4,50125,49942,11278,73051,15738,"高齡 (14–20%)"],["高雄市","鳥松區",43758,1767,100,21879,21879,3444,29905,10409,"超高齡 (20–25%)"],["高雄市","岡山區",94750,1902,96.8,46615,48135,11382,64960,18408,"高齡 (14–20%)"],["高雄市","橋頭區",43320,1773,99.4,21595,21725,4528,30139,8653,"高齡 (14–20%)"],["高雄市","燕巢區",28405,415,109,14815,13590,2341,19684,6380,"超高齡 (20–25%)"],["高雄市","田寮區",6162,68,124.1,3412,2750,267,3841,2054,"超高齡 (≥25%)"],["高雄市","阿蓮區",26817,766,100.1,13414,13403,2706,18437,5674,"超高齡 (20–25%)"],["高雄市","路竹區",49123,968,102.4,24858,24265,5804,33021,10298,"超高齡 (20–25%)"],["高雄市","湖內區",29340,1346,103.5,14919,14421,2697,20899,5744,"高齡 (14–20%)"],["高雄市","茄萣區",28771,1683,103.4,14629,14142,2532,20068,6171,"超高齡 (20–25%)"],["高雄市","永安區",13529,504,98.2,6704,6825,1271,9693,2565,"高齡 (14–20%)"],["高雄市","彌陀區",17793,1205,103.3,9043,8750,1581,12505,3707,"超高齡 (20–25%)"],["高雄市","梓官區",34727,2925,104.8,17768,16959,2957,24748,7022,"超高齡 (20–25%)"],["高雄市","旗山區",33487,353,104.8,17136,16351,2980,21662,8845,"超高齡 (≥25%)"],["高雄市","美濃區",36237,305,111,19062,17175,2425,22499,11313,"超高齡 (≥25%)"],["高雄市","六龜區",11329,63,116.7,6101,5228,751,7446,3132,"超高齡 (≥25%)"],["高雄市","甲仙區",5301,43,110.9,2788,2513,348,3454,1499,"超高齡 (≥25%)"],["高雄市","杉林區",10595,102,120.3,5785,4810,686,6887,3022,"超高齡 (≥25%)"],["高雄市","內門區",12609,133,116.6,6789,5820,735,8403,3471,"超高齡 (≥25%)"],["高雄市","茂林區",1838,8,96.8,904,934,234,1390,214,"高齡化 (7–14%)"],["高雄市","桃源區",4137,4,108.4,2152,1985,564,3077,496,"高齡化 (7–14%)"],["高雄市","那瑪夏區",3110,18,105,1593,1517,544,2219,347,"高齡化 (7–14%)"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"source":"內政部戶政司 村里戶數、單一年齡人口 114年9月","head":["鄉鎮","村里","人口","人口密度","性比例","男","女","0-14歲","15-64歲","65歲以上","高齡分級"],"units":{"人口":"人","人口密度":"人/km²","男":"人","女":"人","0-14歲":"人","15-64歲":"人","65歲以上":"人"},"rows":[["南投市","全區",96524,1340,98.5,47892,48632,11337,64957,20230,"超高齡 (20–25%)"],["埔里鎮","全區",75772,441,97.4,37379,38393,7653,51031,17088,"超高齡 (20–25%)"],["草屯鎮","全區",97445,935,99.6,48621,48824,11048,66509,19888,"超高齡 (20–25%)"],["竹山鎮","全區",50076,193,103.6,25486,24590,4621,33557,11898,"超高齡 (20–25%)"],["集集鎮","全區",9684,243,107.8,5024,4660,730,6533,2421,"超高齡 (≥25%)"],["名間鄉","全區",34731,437,111.2,18289,16442,2661,23787,8283,"超高齡 (20–25%)"],["鹿谷鄉","全區",15509,108,114.5,8278,7231,942,9958,4609,"超高齡 (≥25%)"],["中寮鄉","全區",12904,89,120.5,7053,5851,791,8517,3596,"超高齡 (≥25%)"],["魚池鄉","全區",14158,114,111,7449,6709,1066,9409,3683,"超高齡 (≥25%)"],["國姓鄉","全區",16089,78,117.3,8684,7405,972,10859,4258,"超高齡 (≥25%)"],["水里鄉","全區",15550,139,109.2,8117,7433,1248,9938,4364,"超高齡 (≥25%)"],["信義鄉","全區",14934,10,113.7,7946,6988,1997,10493,2444,"高齡 (14–20%)"],["仁愛鄉","全區",15281,12,106.4,7879,7402,2263,10709,2309,"高齡 (14–20%)"],["南投市","龍泉里",966,6505,90.5,459,507,102,630,234,"超高齡 (20–25%)"],["南投市","康壽里",1539,8104,90.5,731,808,196,948,395,"超高齡 (≥25%)"],["南投市","三民里",1001,5385,90.3,475,526,136,656,209,"超高齡 (20–25%)"],["南投市","仁和里",508,13026,109.1,265,243,45,306,157,"超高齡 (≥25%)"],["南投市","南投里",559,10108,106.3,288,271,54,327,178,"超高齡 (≥25%)"],["南投市","彰仁里",368,9042,84.9,169,199,41,213,114,"超高齡 (≥25%)"],["南投市","崇文里",1024,8082,92.8,493,531,132,614,278,"超高齡 (≥25%)"],["南投市","漳興里",2945,5428,92.2,1413,1532,288,1984,673,"超高齡 (20–25%)"],["南投市","漳和里",8253,2812,98.2,4089,4164,928,5737,1588,"高齡 (14–20%)"],["南投市","軍功里",5236,3303,92.1,2511,2725,831,3529,876,"高齡 (14–20%)"],["南投市","東山里",415,76,119.6,226,189,53,256,106,"超高齡 (≥25%)"],["南投市","平和里",7036,10237,92.6,3382,3654,771,4674,1591,"超高齡 (20–25%)"],["南投市","振興里",2327,507,108.7,1212,1115,242,1537,548,"超高齡 (20–25%)"],["南投市","千秋里",1109,424,111.2,584,525,117,761,231,"超高齡 (20–25%)"],["南投市","三興里",6322,1897,95.8,3094,3228,835,4295,1192,"高齡 (14–20%)"],["南投市","三和里",3024,7315,97.6,1494,1530,373,1888,763,"超高齡 (≥25%)"],["南投市","嘉興里",2452,479,103.8,1249,1203,279,1673,500,"超高齡 (20–25%)"],["南投市","嘉和里",5381,2808,97.5,2657,2724,681,3750,950,"高齡 (14–20%)"],["南投市","福山里",2086,425,113.5,1109,977,194,1444,448,"超高齡 (20–25%)"],["南投市","永興里",803,280,125.6,447,356,48,560,195,"超高齡 (20–25%)"],["南投市","鳳鳴里",563,316,133.6,322,241,22,370,171,"超高齡 (≥25%)"],["南投市","鳳山里",1028,325,124.9,571,457,60,688,280,"超高齡 (≥25%)"],["南投市","平山里",6327,1839,97.1,3117,3210,642,4571,1114,"高齡 (14–20%)"],["南投市","新興里",5978,3560,98.3,2964,3014,656,4374,948,"高齡 (14–20%)"],["南投市","永豐里",3092,1093,106,1591,1501,234,2275,583,"高齡 (14–20%)"],["南投市","福興里",3437,544,105.8,1767,1670,295,2445,697,"超高齡 (20–25%)"],["南投市","營北里",6963,4804,95.2,3396,3567,947,4339,1677,"超高齡 (20–25%)"],["南投市","營南里",2760,2194,103.2,1402,1358,241,1975,544,"高齡 (14–20%)"],["南投市","內興里",6450,1417,98.9,3207,3243,1029,4275,1146,"高齡 (14–20%)"],["南投市","內新里",3893,1704,105.7,2000,1893,576,2578,739,"高齡 (14–20%)"],["南投市","光華里",575,258,77.5,251,324,66,248,261,"超高齡 (≥25%)"],["南投市","光榮里",874,618,86,404,470,80,421,373,"超高齡 (≥25%)"],["南投市","光明里",680,417,72.2,285,395,64,286,330,"超高齡 (≥25%)"],["南投市","光輝里",550,2100,95,268,282,79,330,141,"超高齡 (≥25%)"],["埔里鎮","東門里",2854,9548,94.7,1388,1466,300,1744,810,"超高齡 (≥25%)"],["埔里鎮","南門里",772,8645,102.6,391,381,29,464,279,"超高齡 (≥25%)"],["埔里鎮","西門里",3304,3717,98.1,1636,1668,415,2110,779,"超高齡 (20–25%)"],["埔里鎮","北門里",2707,10420,101.9,1366,1341,258,1786,663,"超高齡 (20–25%)"],["埔里鎮","同聲里",2468,2977,91.9,1182,1286,274,1628,566,"超高齡 (20–25%)"],["埔里鎮","薰化里",1060,8555,95.2,517,543,58,697,305,"超高齡 (≥25%)"],["埔里鎮","清新里",3958,4371,95.9,1938,2020,322,2776,860,"超高齡 (20–25%)"],["埔里鎮","大城里",6474,3285,90.5,3075,3399,548,4460,1466,"超高齡 (20–25%)"],["埔里鎮","籃城里",1010,493,98.8,502,508,69,689,252,"超高齡 (20–25%)"],["埔里鎮","枇杷里",8796,2236,95.9,4307,4489,1131,6012,1653,"高齡 (14–20%)"],["埔里鎮","水頭里",4446,497,98.3,2204,2242,499,3035,912,"超高齡 (20–25%)"],["埔里鎮","麒麟里",1094,162,117.9,592,502,94,709,291,"超高齡 (≥25%)"],["埔里鎮","珠格里",1231,348,109,642,589,152,803,276,"超高齡 (20–25%)"],["埔里鎮","溪南里",1268,498,96,621,647,128,896,244,"高齡 (14–20%)"],["埔里鎮","桃米里",1053,63,118.9,572,481,64,685,304,"超高齡 (≥25%)"],["埔里鎮","成功里",273,28,155.1,166,107,5,176,92,"超高齡 (≥25%)"],["埔里鎮","南村里",1462,186,99.5,729,733,149,1035,278,"高齡 (14–20%)"],["埔里鎮","愛蘭里",1604,2636,90,760,844,175,1084,345,"超高齡 (20–25%)"],["埔里鎮","鐵山里",1915,1767,98,948,967,215,1326,374,"高齡 (14–20%)"],["埔里鎮","房里里",1503,414,103.4,764,739,166,1035,302,"超高齡 (20–25%)"],["埔里鎮","向善里",665,68,129.3,375,290,39,432,194,"超高齡 (≥25%)"],["埔里鎮","一新里",968,113,66.9,388,580,29,646,293,"超高齡 (≥25%)"],["埔里鎮","廣成里",1137,111,95.4,555,582,60,742,335,"超高齡 (≥25%)"],["埔里鎮","史港里",564,277,106.6,291,273,36,345,183,"超高齡 (≥25%)"],["埔里鎮","福興里",1046,98,103.5,532,514,69,680,297,"超高齡 (≥25%)"],["埔里鎮","牛眠里",3168,301,101.4,1595,1573,313,2150,705,"超高齡 (20–25%)"],["埔里鎮","大湳里",2075,1399,98.8,1031,1044,233,1492,350,"高齡 (14–20%)"],["埔里鎮","蜈蚣里",2694,80,103.8,1372,1322,212,1858,624,"超高齡 (20–25%)"],["埔里鎮","合成里",1715,182,108.1,891,824,185,1147,383,"超高齡 (20–25%)"],["埔里鎮","北安里",3500,8827,95.9,1713,1787,374,2332,794,"超高齡 (20–25%)"],["埔里鎮","杷城里",2939,10396,97.1,1448,1491,367,1966,606,"超高齡 (20–25%)"],["埔里鎮","北梅里",3789,2380,91.6,1811,1978,485,2562,742,"高齡 (14–20%)"],["埔里鎮","泰安里",2260,15209,91,1077,1183,200,1529,531,"超高齡 (20–25%)"],["草屯鎮","玉峰里",2655,10590,93,1279,1376,386,1713,556,"超高齡 (20–25%)"],["草屯鎮","炎峰里",2372,9280,90.8,1129,1243,327,1466,579,"超高齡 (20–25%)"],["草屯鎮","和平里",1136,8126,100,568,568,145,658,333,"超高齡 (≥25%)"],["草屯鎮","敦和里",7413,3671,94.6,3603,3810,954,4935,1524,"超高齡 (20–25%)"],["草屯鎮","山腳里",9156,4129,91.5,4374,4782,1090,6230,1836,"超高齡 (20–25%)"],["草屯鎮","富寮里",8982,1774,97.2,4427,4555,1224,6422,1336,"高齡 (14–20%)"],["草屯鎮","御史里",7094,1194,97.7,3506,3588,771,4904,1419,"超高齡 (20–25%)"],["草屯鎮","新豐里",4511,1106,105.2,2313,2198,470,3128,913,"超高齡 (20–25%)"],["草屯鎮","碧峰里",5519,1478,99.3,2750,2769,619,3965,935,"高齡 (14–20%)"],["草屯鎮","碧洲里",2865,992,97.2,1412,1453,292,2077,496,"高齡 (14–20%)"],["草屯鎮","復興里",3147,2581,106.6,1624,1523,291,2126,730,"超高齡 (20–25%)"],["草屯鎮","上林里",3567,2013,104.6,1824,1743,355,2446,766,"超高齡 (20–25%)"],["草屯鎮","新庄里",4301,2331,100,2150,2151,421,3077,803,"高齡 (14–20%)"],["草屯鎮","北投里",3363,1498,104.9,1722,1641,383,2345,635,"高齡 (14–20%)"],["草屯鎮","石川里",1826,524,111.1,961,865,164,1309,353,"高齡 (14–20%)"],["草屯鎮","加老里",2447,1140,107.9,1270,1177,204,1736,507,"超高齡 (20–25%)"],["草屯鎮","北勢里",1867,348,119.6,1017,850,142,1221,504,"超高齡 (≥25%)"],["草屯鎮","中原里",2389,1004,106.3,1231,1158,230,1650,509,"超高齡 (20–25%)"],["草屯鎮","南埔里",4766,1107,104.6,2437,2329,470,3259,1037,"超高齡 (20–25%)"],["草屯鎮","土城里",1715,314,110.9,902,813,119,1198,398,"超高齡 (20–25%)"],["草屯鎮","坪頂里",1075,119,112.9,570,505,88,744,243,"超高齡 (20–25%)"],["草屯鎮","雙冬里",2390,87,110.6,1255,1135,195,1598,597,"超高齡 (20–25%)"],["草屯鎮","平林里",1136,118,107.7,589,547,97,718,321,"超高齡 (≥25%)"],["草屯鎮","中正里",654,12824,106.3,337,317,60,411,183,"超高齡 (≥25%)"],["草屯鎮","中山里",2980,6511,96.1,1460,1520,422,1904,654,"超高齡 (20–25%)"],["草屯鎮","明正里",4258,11011,93,2052,2206,564,2788,906,"超高齡 (20–25%)"],["草屯鎮","新厝里",3861,8578,92.9,1859,2002,565,2481,815,"超高齡 (20–25%)"],["竹山鎮","竹山里",2043,6304,94.2,991,1052,160,1325,558,"超高齡 (≥25%)"],["竹山鎮","中正里",578,10547,102.1,292,286,28,371,179,"超高齡 (≥25%)"],["竹山鎮","中山里",5374,7958,100.8,2698,2676,636,3544,1194,"超高齡 (20–25%)"],["竹山鎮","雲林里",3785,5886,97.1,1865,1920,359,2511,915,"超高齡 (20–25%)"],["竹山鎮","硘里",2048,3165,99.2,1020,1028,223,1451,374,"高齡 (14–20%)"],["竹山鎮","下坪里",1330,174,106.8,687,643,123,925,282,"超高齡 (20–25%)"],["竹山鎮","桂林里",4067,759,101,2044,2023,394,2791,882,"超高齡 (20–25%)"],["竹山鎮","中和里",855,146,131.1,485,370,50,570,235,"超高齡 (≥25%)"],["竹山鎮","中崎里",1591,634,106.9,822,769,140,1093,358,"超高齡 (20–25%)"],["竹山鎮","德興里",925,192,91.5,442,483,73,620,232,"超高齡 (≥25%)"],["竹山鎮","延平里",3010,492,106.7,1554,1456,268,2027,715,"超高齡 (20–25%)"],["竹山鎮","延正里",1817,205,104.8,930,887,153,1220,444,"超高齡 (20–25%)"],["竹山鎮","延山里",836,79,114.9,447,389,43,557,236,"超高齡 (≥25%)"],["竹山鎮","延和里",5524,4021,97.6,2728,2796,657,3753,1114,"超高齡 (20–25%)"],["竹山鎮","山崇里",1889,242,109,985,904,170,1234,485,"超高齡 (≥25%)"],["竹山鎮","社寮里",1496,371,107.5,775,721,156,995,345,"超高齡 (20–25%)"],["竹山鎮","中央里",1065,197,117.3,575,490,40,677,348,"超高齡 (≥25%)"],["竹山鎮","富州里",599,91,122.7,330,269,31,385,183,"超高齡 (≥25%)"],["竹山鎮","大鞍里",406,5,121.9,223,183,27,250,129,"超高齡 (≥25%)"],["竹山鎮","田子里",551,53,111.1,290,261,36,354,161,"超高齡 (≥25%)"],["竹山鎮","福興里",586,60,131.6,333,253,31,388,167,"超高齡 (≥25%)"],["竹山鎮","鯉魚里",762,54,119.6,415,347,66,478,218,"超高齡 (≥25%)"],["竹山鎮","瑞竹里",542,26,138.8,315,227,16,345,181,"超高齡 (≥25%)"],["竹山鎮","坪頂里",426,31,120.7,233,193,12,302,112,"超高齡 (≥25%)"],["竹山鎮","桶頭里",867,53,121.7,476,391,43,565,259,"超高齡 (≥25%)"],["竹山鎮","秀林里",659,66,122.6,363,296,46,429,184,"超高齡 (≥25%)"],["竹山鎮","延祥里",3975,3289,99.8,1986,1989,397,2737,841,"超高齡 (20–25%)"],["竹山鎮","竹圍里",2470,4881,91.8,1182,1288,243,1660,567,"超高齡 (20–25%)"],["集集鎮","集集里",1142,463,102.5,578,564,87,784,271,"超高齡 (20–25%)"],["集集鎮","和平里",993,273,102.7,503,490,93,639,261,"超高齡 (≥25%)"],["集集鎮","林尾里",532,226,127.4,298,234,18,356,158,"超高齡 (≥25%)"],["集集鎮","田寮里",1142,138,120.5,624,518,91,785,266,"超高齡 (20–25%)"],["集集鎮","隘寮里",486,116,129.2,274,212,37,313,136,"超高齡 (≥25%)"],["集集鎮","玉映里",545,3476,98.9,271,274,43,387,115,"超高齡 (20–25%)"],["集集鎮","吳厝里",878,708,103.2,446,432,47,584,247,"超高齡 (≥25%)"],["集集鎮","八張里",1514,1292,100.5,759,755,112,1047,355,"超高齡 (20–25%)"],["集集鎮","永昌里",1011,777,105.1,518,493,89,681,241,"超高齡 (20–25%)"],["集集鎮","富山里",536,62,115.3,287,249,40,338,158,"超高齡 (≥25%)"],["集集鎮","廣明里",905,143,106.2,466,439,73,619,213,"超高齡 (20–25%)"],["名間鄉","南雅村",1113,1357,100.9,559,554,107,744,262,"超高齡 (20–25%)"],["名間鄉","中正村",3746,1605,102.2,1893,1853,373,2605,768,"超高齡 (20–25%)"],["名間鄉","中山村",2406,670,112.5,1274,1132,224,1652,530,"超高齡 (20–25%)"],["名間鄉","濁水村",1640,367,120.1,895,745,130,1082,428,"超高齡 (≥25%)"],["名間鄉","炭寮村",978,195,116.4,526,452,48,667,263,"超高齡 (≥25%)"],["名間鄉","新民村",1042,157,122.2,573,469,82,681,279,"超高齡 (≥25%)"],["名間鄉","新街村",4627,1171,105.1,2371,2256,373,3271,983,"超高齡 (20–25%)"],["名間鄉","東湖村",1636,333,109.7,856,780,104,1152,380,"超高齡 (20–25%)"],["名間鄉","萬丹村",902,184,122.2,496,406,28,630,244,"超高齡 (≥25%)"],["名間鄉","田仔村",1303,381,132.3,742,561,93,860,350,"超高齡 (≥25%)"],["名間鄉","大庄村",1832,577,111.1,964,868,92,1292,448,"超高齡 (20–25%)"],["名間鄉","廍下村",941,237,117.8,509,432,62,646,233,"超高齡 (20–25%)"],["名間鄉","大坑村",731,256,104.8,374,357,41,514,176,"超高齡 (20–25%)"],["名間鄉","竹圍村",952,408,115.9,511,441,56,639,257,"超高齡 (≥25%)"],["名間鄉","赤水村",1164,381,116.8,627,537,65,775,324,"超高齡 (≥25%)"],["名間鄉","三崙村",1636,401,112.2,865,771,141,1129,366,"超高齡 (20–25%)"],["名間鄉","松山村",1602,1306,105.1,821,781,152,1048,402,"超高齡 (≥25%)"],["名間鄉","松柏村",1239,611,109.3,647,592,132,842,265,"超高齡 (20–25%)"],["名間鄉","埔中村",854,325,121.2,468,386,57,582,215,"超高齡 (≥25%)"],["名間鄉","崁腳村",890,444,110.4,467,423,63,595,232,"超高齡 (≥25%)"],["名間鄉","新厝村",751,323,120.2,410,341,49,501,201,"超高齡 (≥25%)"],["名間鄉","新光村",1836,438,117,990,846,129,1234,473,"超高齡 (≥25%)"],["名間鄉","仁和村",910,165,98.3,451,459,60,646,204,"超高齡 (20–25%)"],["鹿谷鄉","鹿谷村",1920,516,102.7,973,947,112,1258,550,"超高齡 (≥25%)"],["鹿谷鄉","初鄉村",1408,109,112,744,664,87,882,439,"超高齡 (≥25%)"],["鹿谷鄉","彰雅村",1275,303,101.4,642,633,84,857,334,"超高齡 (≥25%)"],["鹿谷鄉","廣興村",1979,829,107.4,1025,954,127,1271,581,"超高齡 (≥25%)"],["鹿谷鄉","內湖村",1001,46,119,544,457,67,636,298,"超高齡 (≥25%)"],["鹿谷鄉","竹林村",1501,119,120.7,821,680,94,943,464,"超高齡 (≥25%)"],["鹿谷鄉","竹豐村",875,117,122.1,481,394,50,559,266,"超高齡 (≥25%)"],["鹿谷鄉","和雅村",621,77,124.2,344,277,38,399,184,"超高齡 (≥25%)"],["鹿谷鄉","鳳凰村",1314,55,113.7,699,615,89,859,366,"超高齡 (≥25%)"],["鹿谷鄉","永隆村",1567,107,119.2,852,715,97,1023,447,"超高齡 (≥25%)"],["鹿谷鄉","秀峰村",731,58,128.4,411,320,38,434,259,"超高齡 (≥25%)"],["鹿谷鄉","清水村",613,68,134.9,352,261,21,370,222,"超高齡 (≥25%)"],["鹿谷鄉","瑞田村",704,71,124.2,390,314,38,467,199,"超高齡 (≥25%)"],["中寮鄉","廣興村",753,77,115.1,403,350,38,493,222,"超高齡 (≥25%)"],["中寮鄉","崁頂村",452,61,141.7,265,187,8,310,134,"超高齡 (≥25%)"],["中寮鄉","八仙村",782,149,118.4,424,358,51,518,213,"超高齡 (≥25%)"],["中寮鄉","和興村",596,35,128.4,335,261,26,408,162,"超高齡 (≥25%)"],["中寮鄉","福盛村",636,30,136.4,367,269,15,400,221,"超高齡 (≥25%)"],["中寮鄉","永平村",1780,476,103.9,907,873,171,1162,447,"超高齡 (≥25%)"],["中寮鄉","復興村",256,36,120.7,140,116,9,180,67,"超高齡 (≥25%)"],["中寮鄉","中寮村",632,372,124.9,351,281,36,421,175,"超高齡 (≥25%)"],["中寮鄉","廣福村",488,58,132.4,278,210,24,319,145,"超高齡 (≥25%)"],["中寮鄉","永福村",1415,124,108.4,736,679,101,1005,309,"超高齡 (20–25%)"],["中寮鄉","義和村",1088,301,115.9,584,504,78,733,277,"超高齡 (≥25%)"],["中寮鄉","清水村",873,56,123.8,483,390,62,557,254,"超高齡 (≥25%)"],["中寮鄉","龍安村",692,127,126.1,386,306,50,438,204,"超高齡 (≥25%)"],["中寮鄉","龍岩村",631,181,118.3,342,289,37,410,184,"超高齡 (≥25%)"],["中寮鄉","永和村",498,78,145.3,295,203,24,285,189,"超高齡 (≥25%)"],["中寮鄉","內城村",465,81,127.9,261,204,22,306,137,"超高齡 (≥25%)"],["中寮鄉","永芳村",434,63,132.1,247,187,20,291,123,"超高齡 (≥25%)"],["中寮鄉","爽文村",433,97,135.3,249,184,19,281,133,"超高齡 (≥25%)"],["魚池鄉","東池村",1657,516,115.2,887,770,131,1117,409,"超高齡 (20–25%)"],["魚池鄉","魚池村",2060,843,99.6,1028,1032,165,1410,485,"超高齡 (20–25%)"],["魚池鄉","中明村",999,151,109.4,522,477,70,637,292,"超高齡 (≥25%)"],["魚池鄉","新城村",1451,190,109.7,759,692,137,948,366,"超高齡 (≥25%)"],["魚池鄉","大林村",1081,161,117.9,585,496,55,742,284,"超高齡 (≥25%)"],["魚池鄉","東光村",1295,73,120.2,707,588,89,870,336,"超高齡 (≥25%)"],["魚池鄉","共和村",1051,113,109.4,549,502,79,701,271,"超高齡 (≥25%)"],["魚池鄉","大雁村",618,87,115.3,331,287,38,404,176,"超高齡 (≥25%)"],["魚池鄉","五城村",717,33,129.1,404,313,55,457,205,"超高齡 (≥25%)"],["魚池鄉","水社村",880,57,102.3,445,435,87,576,217,"超高齡 (20–25%)"],["魚池鄉","頭社村",890,142,124.7,494,396,49,583,258,"超高齡 (≥25%)"],["魚池鄉","武登村",537,77,128.5,302,235,24,317,196,"超高齡 (≥25%)"],["魚池鄉","日月村",922,68,89.7,436,486,87,647,188,"超高齡 (20–25%)"],["國姓鄉","國姓村",1732,233,109.2,904,828,157,1138,437,"超高齡 (≥25%)"],["國姓鄉","石門村",1841,190,108.5,958,883,151,1278,412,"超高齡 (20–25%)"],["國姓鄉","大旗村",657,71,132.2,374,283,29,441,187,"超高齡 (≥25%)"],["國姓鄉","北港村",1810,49,117.8,979,831,85,1186,539,"超高齡 (≥25%)"],["國姓鄉","長流村",1349,150,116.2,725,624,88,940,321,"超高齡 (20–25%)"],["國姓鄉","長福村",702,73,118,380,322,41,492,169,"超高齡 (20–25%)"],["國姓鄉","福龜村",1767,312,106.9,913,854,99,1199,469,"超高齡 (≥25%)"],["國姓鄉","乾溝村",738,30,131.3,419,319,40,481,217,"超高齡 (≥25%)"],["國姓鄉","柑林村",1112,93,111.4,586,526,53,751,308,"超高齡 (≥25%)"],["國姓鄉","北山村",1456,85,114.4,777,679,88,962,406,"超高齡 (≥25%)"],["國姓鄉","南港村",1527,44,137.1,883,644,77,1029,421,"超高齡 (≥25%)"],["國姓鄉","大石村",663,73,124.7,368,295,26,455,182,"超高齡 (≥25%)"],["國姓鄉","長豐村",735,35,131.9,418,317,38,507,190,"超高齡 (≥25%)"],["水里鄉","水里村",701,277,129.8,396,305,35,446,220,"超高齡 (≥25%)"],["水里鄉","農富村",423,542,102.4,214,209,29,247,147,"超高齡 (≥25%)"],["水里鄉","新城村",1541,484,107.1,797,744,134,972,435,"超高齡 (≥25%)"],["水里鄉","中央村",581,938,96.3,285,296,35,353,193,"超高齡 (≥25%)"],["水里鄉","城中村",876,1169,110.6,460,416,53,556,267,"超高齡 (≥25%)"],["水里鄉","北埔村",1139,1574,100.9,572,567,105,749,285,"超高齡 (≥25%)"],["水里鄉","鉅工村",910,367,95.7,445,465,84,593,233,"超高齡 (≥25%)"],["水里鄉","永豐村",1423,489,101.3,716,707,143,963,317,"超高齡 (20–25%)"],["水里鄉","頂崁村",1322,140,98.8,657,665,163,820,339,"超高齡 (≥25%)"],["水里鄉","車埕村",427,39,124.7,237,190,19,282,126,"超高齡 (≥25%)"],["水里鄉","新興村",625,71,120.1,341,284,40,407,178,"超高齡 (≥25%)"],["水里鄉","新山村",189,35,139.2,110,79,12,123,54,"超高齡 (≥25%)"],["水里鄉","郡坑村",328,66,132.6,187,141,23,193,112,"超高齡 (≥25%)"],["水里鄉","上安村",1061,129,112.6,562,499,53,691,317,"超高齡 (≥25%)"],["水里鄉","民和村",812,57,136,468,344,36,477,299,"超高齡 (≥25%)"],["水里鄉","永興村",325,46,121.1,178,147,36,189,100,"超高齡 (≥25%)"],["水里鄉","玉峰村",853,59,118.2,462,391,67,532,254,"超高齡 (≥25%)"],["水里鄉","興隆村",250,18,160.4,154,96,5,149,96,"超高齡 (≥25%)"],["水里鄉","南光村",1764,3188,98.6,876,888,176,1196,392,"超高齡 (20–25%)"],["信義鄉","人和村",1426,14,114.8,762,664,221,997,208,"高齡 (14–20%)"],["信義鄉","地利村",1129,4,104.5,577,552,172,807,150,"高齡化 (7–14%)"],["信義鄉","潭南村",788,49,102.6,399,389,172,570,46,"年輕 (<7%)"],["信義鄉","明德村",1504,61,107.4,779,725,109,1026,369,"超高齡 (20–25%)"],["信義鄉","愛國村",489,41,139.7,285,204,33,323,133,"超高齡 (≥25%)"],["信義鄉","自強村",665,22,119.5,362,303,36,449,180,"超高齡 (≥25%)"],["信義鄉","羅娜村",1593,110,114.7,851,742,248,1164,181,"高齡化 (7–14%)"],["信義鄉","望美村",1131,61,109.1,590,541,141,839,151,"高齡化 (7–14%)"],["信義鄉","同富村",1527,30,119.7,832,695,174,1007,346,"超高齡 (20–25%)"],["信義鄉","神木村",607,10,154,368,239,55,399,153,"超高齡 (≥25%)"],["信義鄉","東埔村",1171,3,106.9,605,566,169,846,156,"高齡化 (7–14%)"],["信義鄉","雙龍村",761,2,112,402,359,131,541,89,"高齡化 (7–14%)"],["信義鄉","新鄉村",741,46,116.7,399,342,128,541,72,"高齡化 (7–14%)"],["信義鄉","豐丘村",714,8,110.6,375,339,82,501,131,"高齡 (14–20%)"],["信義鄉","卡里布安村",688,30,109.8,360,328,126,483,79,"高齡化 (7–14%)"],["仁愛鄉","法治村",1149,13,113.6,611,538,237,827,85,"高齡化 (7–14%)"],["仁愛鄉","中正村",1207,23,88.3,566,641,228,846,133,"高齡化 (7–14%)"],["仁愛鄉","互助村",1427,36,104.4,729,698,195,997,235,"高齡 (14–20%)"],["仁愛鄉","新生村",463,2,94.5,225,238,68,312,83,"高齡 (14–20%)"],["仁愛鄉","力行村",617,14,102.3,312,305,85,435,97,"高齡 (14–20%)"],["仁愛鄉","發祥村",907,10,117.5,490,417,128,651,128,"高齡 (14–20%)"],["仁愛鄉","親愛村",1417,6,112.8,751,666,201,1024,192,"高齡化 (7–14%)"],["仁愛鄉","大同村",1734,24,107.9,900,834,212,1163,359,"超高齡 (20–25%)"],["仁愛鄉","南豐村",1485,35,109.4,776,709,183,1033,269,"高齡 (14–20%)"],["仁愛鄉","春陽村",1182,54,100.7,593,589,171,822,189,"高齡 (14–20%)"],["仁愛鄉","精英村",780,15,110.8,410,370,121,532,127,"高齡 (14–20%)"],["仁愛鄉","萬豐村",849,16,103.1,431,418,145,610,94,"高齡化 (7–14%)"],["仁愛鄉","榮興村",33,1,153.8,20,13,0,20,13,"超高齡 (≥25%)"],["仁愛鄉","翠華村",541,14,119.9,295,246,55,394,92,"高齡 (14–20%)"],["仁愛鄉","都達村",746,16,113.1,396,350,130,506,110,"高齡 (14–20%)"],["仁愛鄉","德鹿谷村",744,10,101.1,374,370,104,537,103,"高齡化 (7–14%)"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"source":"內政部戶政司 村里戶數、單一年齡人口 114年9月","head":["鄉鎮","村里","人口","人口密度","性比例","男","女","0-14歲","15-64歲","65歲以上","高齡分級"],"units":{"人口":"人","人口密度":"人/km²","男":"人","女":"人","0-14歲":"人","15-64歲":"人","65歲以上":"人"},"rows":[["東區","全區",116262,3885,90,55074,61188,13694,78155,24413,"超高齡 (20–25%)"],["西區","全區",144487,4825,93.2,69702,74785,17939,99559,26989,"高齡 (14–20%)"],["東區","荖藤里",5829,3144,90.7,2772,3057,907,4253,669,"高齡化 (7–14%)"],["東區","後湖里",4123,2105,88.7,1938,2185,604,2828,691,"高齡 (14–20%)"],["東區","仁義里",3321,12753,84.2,1518,1803,485,2258,578,"高齡 (14–20%)"],["東區","中庄里",3757,10836,89,1769,1988,461,2578,718,"高齡 (14–20%)"],["東區","頂庄里",2438,3831,92.7,1173,1265,350,1614,474,"高齡 (14–20%)"],["東區","圳頭里",4855,4946,87.8,2270,2585,524,3325,1006,"超高齡 (20–25%)"],["東區","新店里",4578,6288,89,2156,2422,392,3145,1041,"超高齡 (20–25%)"],["東區","後庄里",4393,2060,92,2105,2288,412,2984,997,"超高齡 (20–25%)"],["東區","王田里",2490,4669,81,1114,1376,191,1636,663,"超高齡 (≥25%)"],["東區","東川里",1934,3055,84.9,888,1046,184,1262,488,"超高齡 (≥25%)"],["東區","太平里",4937,8144,85,2269,2668,710,3321,906,"高齡 (14–20%)"],["東區","盧厝里",2378,583,93.2,1147,1231,308,1696,374,"高齡 (14–20%)"],["東區","鹿寮里",1180,282,105.9,607,573,107,836,237,"超高齡 (20–25%)"],["東區","長竹里",3367,2466,95.2,1642,1725,373,2331,663,"高齡 (14–20%)"],["東區","短竹里",2862,6774,88.9,1347,1515,307,1909,646,"超高齡 (20–25%)"],["東區","新開里",2178,5791,91.1,1038,1140,190,1439,549,"超高齡 (≥25%)"],["東區","宣信里",1310,14333,91.5,626,684,100,805,405,"超高齡 (≥25%)"],["東區","興南里",1734,11187,96.6,852,882,156,1104,474,"超高齡 (≥25%)"],["東區","豐年里",1356,8610,97.1,668,688,158,854,344,"超高齡 (≥25%)"],["東區","芳草里",4115,9108,87.1,1916,2199,397,2932,786,"高齡 (14–20%)"],["東區","芳安里",2377,10462,87.8,1111,1266,206,1608,563,"超高齡 (20–25%)"],["東區","頂寮里",2845,11014,89.9,1347,1498,320,1916,609,"超高齡 (20–25%)"],["東區","安寮里",3023,11013,91.1,1441,1582,276,2016,731,"超高齡 (20–25%)"],["東區","興安里",4384,5742,94.7,2132,2252,693,3016,675,"高齡 (14–20%)"],["東區","興村里",4646,7258,85.5,2141,2505,624,3271,751,"高齡 (14–20%)"],["東區","興仁里",4162,8846,90.7,1980,2182,515,2809,838,"超高齡 (20–25%)"],["東區","過溝里",2238,15193,91,1066,1172,294,1348,596,"超高齡 (≥25%)"],["東區","民族里",1803,11455,106.3,929,874,156,1124,523,"超高齡 (≥25%)"],["東區","朝陽里",1976,14381,100.6,991,985,178,1228,570,"超高齡 (≥25%)"],["東區","華南里",1976,7310,87.5,922,1054,153,1281,542,"超高齡 (≥25%)"],["東區","東興里",1890,8953,92.1,906,984,161,1152,577,"超高齡 (≥25%)"],["東區","中山里",2030,8537,85.6,936,1094,206,1307,517,"超高齡 (≥25%)"],["東區","中央里",2219,11316,96.9,1092,1127,215,1331,673,"超高齡 (≥25%)"],["東區","林森里",2875,9439,87.5,1342,1533,702,1642,531,"高齡 (14–20%)"],["東區","北門里",2228,5562,96.6,1095,1133,299,1323,606,"超高齡 (≥25%)"],["東區","蘭潭里",2637,1211,91.5,1260,1377,241,1838,558,"超高齡 (20–25%)"],["東區","文雅里",4372,11088,81.8,1967,2405,497,3173,702,"高齡 (14–20%)"],["東區","安業里",2322,5052,87,1080,1242,265,1574,483,"超高齡 (20–25%)"],["東區","義教里",3124,13044,94.9,1521,1603,377,2088,659,"超高齡 (20–25%)"],["西區","香湖里",905,1079,91.7,433,472,112,616,177,"高齡 (14–20%)"],["西區","湖邊里",2462,11120,86.7,1143,1319,329,1643,490,"高齡 (14–20%)"],["西區","北榮里",2549,17775,94.9,1241,1308,321,1728,500,"高齡 (14–20%)"],["西區","重興里",2304,12659,95.9,1128,1176,301,1574,429,"高齡 (14–20%)"],["西區","竹圍里",5488,12093,89.7,2595,2893,644,3973,871,"高齡 (14–20%)"],["西區","新厝里",4993,16772,92.7,2402,2591,698,3443,852,"高齡 (14–20%)"],["西區","保安里",3791,11607,92.8,1825,1966,421,2798,572,"高齡 (14–20%)"],["西區","北湖里",3501,1391,100.9,1758,1743,380,2472,649,"高齡 (14–20%)"],["西區","下埤里",1922,1361,100,961,961,211,1411,300,"高齡 (14–20%)"],["西區","竹村里",1254,592,108.3,652,602,101,920,233,"高齡 (14–20%)"],["西區","大溪里",2514,873,103.9,1281,1233,217,1793,504,"超高齡 (20–25%)"],["西區","福全里",4636,9064,89.9,2195,2441,398,3460,778,"高齡 (14–20%)"],["西區","西平里",3826,4574,95,1864,1962,459,2759,608,"高齡 (14–20%)"],["西區","磚里",4170,10109,87,1940,2230,518,2961,691,"高齡 (14–20%)"],["西區","港坪里",4149,3315,93.2,2002,2147,522,3058,569,"高齡化 (7–14%)"],["西區","頭港里",2082,798,108.2,1082,1000,205,1517,360,"高齡 (14–20%)"],["西區","劉厝里",8461,6377,96.5,4155,4306,891,6416,1154,"高齡化 (7–14%)"],["西區","新西里",2339,13140,96.6,1149,1190,300,1538,501,"超高齡 (20–25%)"],["西區","書院里",1959,8197,100.5,982,977,157,1264,538,"超高齡 (≥25%)"],["西區","培元里",1860,22464,92.7,895,965,258,1156,446,"超高齡 (20–25%)"],["西區","垂楊里",2088,13428,95.5,1020,1068,228,1391,469,"超高齡 (20–25%)"],["西區","車店里",6964,17657,90.5,3309,3655,1121,4596,1247,"高齡 (14–20%)"],["西區","福民里",6718,12358,91,3201,3517,1159,4358,1201,"高齡 (14–20%)"],["西區","湖內里",7577,3196,89.7,3583,3994,1309,5330,938,"高齡化 (7–14%)"],["西區","美源里",4199,5837,88.3,1969,2230,533,2651,1015,"超高齡 (20–25%)"],["西區","育英里",1883,10392,87.2,877,1006,231,1125,527,"超高齡 (≥25%)"],["西區","致遠里",2150,34959,86.3,996,1154,303,1357,490,"超高齡 (20–25%)"],["西區","光路里",6455,12399,90.6,3069,3386,991,4308,1156,"高齡 (14–20%)"],["西區","翠岱里",1748,35820,95.1,852,896,232,1092,424,"超高齡 (20–25%)"],["西區","自強里",1908,15704,87.6,891,1017,240,1270,398,"超高齡 (20–25%)"],["西區","永和里",2105,15265,98.6,1045,1060,232,1385,488,"超高齡 (20–25%)"],["西區","新富里",1630,11933,95.4,796,834,147,1004,479,"超高齡 (≥25%)"],["西區","文化里",2290,14485,92,1097,1193,196,1393,701,"超高齡 (≥25%)"],["西區","西榮里",2462,17241,102.5,1246,1216,236,1547,679,"超高齡 (≥25%)"],["西區","國華里",1417,7186,91.2,676,741,122,872,423,"超高齡 (≥25%)"],["西區","番社里",1418,8317,97.5,700,718,85,875,458,"超高齡 (≥25%)"],["西區","導明里",1633,12940,97.5,806,827,144,1036,453,"超高齡 (≥25%)"],["西區","慶安里",1641,16088,98.9,816,825,154,1096,391,"超高齡 (20–25%)"],["西區","後驛里",2256,6200,101.8,1138,1118,208,1601,447,"高齡 (14–20%)"],["西區","福安里",4937,8019,89.8,2336,2601,594,3630,713,"高齡 (14–20%)"],["西區","獅子里",3180,22796,85.2,1463,1717,469,2172,539,"高齡 (14–20%)"],["西區","紅瓦里",1879,2300,99.9,939,940,328,1224,327,"高齡 (14–20%)"],["西區","保福里",4358,15222,88.3,2044,2314,519,3170,669,"高齡 (14–20%)"],["西區","保生里",5013,11349,94.3,2433,2580,522,3563,928,"高齡 (14–20%)"],["西區","北新里",1413,655,103,717,696,193,1013,207,"高齡 (14–20%)"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"source":"內政部戶政司 村里戶數、單一年齡人口 114年9月","head":["鄉鎮","村里","人口","人口密度","性比例","男","女","0-14歲","15-64歲","65歲以上","高齡分級"],"units":{"人口":"人","人口密度":"人/km²","男":"人","女":"人","0-14歲":"人","15-64歲":"人","65歲以上":"人"},"rows":[["太保市","全區",39832,598,101.5,20064,19768,4842,28543,6447,"高齡 (14–20%)"],["朴子市","全區",40071,800,100.2,20057,20014,4560,26741,8770,"超高齡 (20–25%)"],["布袋鎮","全區",23725,299,104.5,12123,11602,1481,16248,5996,"超高齡 (≥25%)"],["大林鎮","全區",29453,455,102.2,14890,14563,2599,19472,7382,"超高齡 (≥25%)"],["民雄鄉","全區",69965,822,103.4,35560,34405,6649,49050,14266,"超高齡 (20–25%)"],["溪口鄉","全區",12684,390,115.8,6806,5878,795,8267,3622,"超高齡 (≥25%)"],["新港鄉","全區",29113,439,111.7,15360,13753,2497,19373,7243,"超高齡 (20–25%)"],["六腳鄉","全區",20128,322,114.3,10736,9392,1090,12922,6116,"超高齡 (≥25%)"],["東石鄉","全區",21800,265,112.5,11543,10257,1282,14831,5687,"超高齡 (≥25%)"],["義竹鄉","全區",15858,201,109.5,8290,7568,935,10037,4886,"超高齡 (≥25%)"],["鹿草鄉","全區",13576,248,119.4,7388,6188,826,8533,4217,"超高齡 (≥25%)"],["水上鄉","全區",47239,673,106.2,24330,22909,3324,33309,10606,"超高齡 (20–25%)"],["中埔鄉","全區",41885,321,107.2,21671,20214,3202,28881,9802,"超高齡 (20–25%)"],["竹崎鄉","全區",32296,205,113,17132,15164,2511,21439,8346,"超高齡 (≥25%)"],["梅山鄉","全區",17194,144,112.5,9104,8090,1307,10985,4902,"超高齡 (≥25%)"],["番路鄉","全區",10632,94,114.3,5671,4961,660,7168,2804,"超高齡 (≥25%)"],["大埔鄉","全區",4169,24,103.3,2118,2051,313,2893,963,"超高齡 (20–25%)"],["阿里山鄉","全區",5176,11,108.4,2692,2484,563,3545,1068,"超高齡 (20–25%)"],["太保市","太保里",3168,1130,98.4,1571,1597,357,2300,511,"高齡 (14–20%)"],["太保市","後庄里",502,225,110.9,264,238,49,345,108,"超高齡 (20–25%)"],["太保市","前潭里",1553,698,113,824,729,146,1054,353,"超高齡 (20–25%)"],["太保市","後潭里",2015,1180,106.9,1041,974,203,1393,419,"超高齡 (20–25%)"],["太保市","梅埔里",1198,346,121.9,658,540,96,829,273,"超高齡 (20–25%)"],["太保市","春珠里",1437,312,110.4,754,683,134,1021,282,"高齡 (14–20%)"],["太保市","崙頂里",869,438,105.9,447,422,86,563,220,"超高齡 (≥25%)"],["太保市","東勢里",2514,515,96.7,1236,1278,454,1758,302,"高齡化 (7–14%)"],["太保市","新埤里",1381,281,111.5,728,653,119,941,321,"超高齡 (20–25%)"],["太保市","舊埤里",3053,1218,101.7,1539,1514,291,2340,422,"高齡化 (7–14%)"],["太保市","田尾里",750,197,113.1,398,352,49,516,185,"超高齡 (20–25%)"],["太保市","港尾里",544,67,115.9,292,252,26,371,147,"超高齡 (≥25%)"],["太保市","過溝里",4285,836,96.8,2108,2177,536,3153,596,"高齡化 (7–14%)"],["太保市","麻寮里",5918,3313,97.1,2916,3002,773,4419,726,"高齡化 (7–14%)"],["太保市","南新里",1995,881,104.6,1020,975,202,1378,415,"超高齡 (20–25%)"],["太保市","北新里",3997,1116,102.5,2023,1974,479,2931,587,"高齡 (14–20%)"],["太保市","埤鄉里",706,138,112,373,333,49,484,173,"超高齡 (20–25%)"],["太保市","安仁里",3947,722,90.2,1872,2075,793,2747,407,"高齡化 (7–14%)"],["朴子市","安福里",2203,3662,94.6,1071,1132,249,1491,463,"超高齡 (20–25%)"],["朴子市","平和里",2712,7213,92.6,1304,1408,293,1891,528,"高齡 (14–20%)"],["朴子市","內厝里",1248,1714,109,651,597,156,803,289,"超高齡 (20–25%)"],["朴子市","開元里",361,10808,111.1,190,171,27,212,122,"超高齡 (≥25%)"],["朴子市","順天里",642,5059,90.5,305,337,49,405,188,"超高齡 (≥25%)"],["朴子市","中正里",620,11567,92,297,323,59,360,201,"超高齡 (≥25%)"],["朴子市","博厚里",1133,5190,100.2,567,566,219,740,174,"高齡 (14–20%)"],["朴子市","文化里",1802,9539,105.9,927,875,181,1083,538,"超高齡 (≥25%)"],["朴子市","永和里",2926,1074,96.4,1436,1490,357,1929,640,"超高齡 (20–25%)"],["朴子市","竹圍里",5033,4622,94.7,2448,2585,701,3343,989,"高齡 (14–20%)"],["朴子市","新寮里",728,697,111,383,345,103,473,152,"超高齡 (20–25%)"],["朴子市","双溪里",642,555,116.9,346,296,54,407,181,"超高齡 (≥25%)"],["朴子市","溪口里",822,297,115.2,440,382,53,555,214,"超高齡 (≥25%)"],["朴子市","德興里",1106,596,120.8,605,501,118,711,277,"超高齡 (≥25%)"],["朴子市","仁和里",2559,920,79.3,1132,1427,454,1863,242,"高齡化 (7–14%)"],["朴子市","大鄉里",3517,1227,100.4,1762,1755,302,2453,762,"超高齡 (20–25%)"],["朴子市","大葛里",3929,861,90.8,1870,2059,608,2740,581,"高齡 (14–20%)"],["朴子市","佳禾里",806,241,102,407,399,80,566,160,"高齡 (14–20%)"],["朴子市","竹村里",1182,267,112.6,626,556,92,857,233,"高齡 (14–20%)"],["朴子市","崁前里",894,454,112.4,473,421,53,594,247,"超高齡 (≥25%)"],["朴子市","順安里",235,198,137.4,136,99,9,143,83,"超高齡 (≥25%)"],["朴子市","崁後里",715,214,131.4,406,309,41,442,232,"超高齡 (≥25%)"],["朴子市","德家里",784,410,119,426,358,53,519,212,"超高齡 (≥25%)"],["朴子市","新庄里",729,215,93.9,353,376,69,492,168,"超高齡 (20–25%)"],["朴子市","梅華里",1067,425,130,603,464,87,642,338,"超高齡 (≥25%)"],["朴子市","松華里",1183,480,111.6,624,559,65,729,389,"超高齡 (≥25%)"],["朴子市","南竹里",493,210,120.1,269,224,28,298,167,"超高齡 (≥25%)"],["布袋鎮","岱江里",588,8352,89.7,278,310,28,406,154,"超高齡 (≥25%)"],["布袋鎮","九龍里",323,12281,121.2,177,146,11,235,77,"超高齡 (20–25%)"],["布袋鎮","岑海里",2419,1304,97.5,1194,1225,195,1753,471,"高齡 (14–20%)"],["布袋鎮","興中里",1073,1913,93.7,519,554,62,747,264,"超高齡 (20–25%)"],["布袋鎮","光復里",1678,221,99.8,838,840,119,1128,431,"超高齡 (≥25%)"],["布袋鎮","見龍里",871,718,108.9,454,417,54,606,211,"超高齡 (20–25%)"],["布袋鎮","新厝里",690,375,111,363,327,40,462,188,"超高齡 (≥25%)"],["布袋鎮","龍江里",717,181,106,369,348,25,517,175,"超高齡 (20–25%)"],["布袋鎮","新岑里",964,224,100.4,483,481,76,629,259,"超高齡 (≥25%)"],["布袋鎮","新民里",1324,224,90,627,697,70,941,313,"超高齡 (20–25%)"],["布袋鎮","復興里",2442,453,92.4,1173,1269,178,1697,567,"超高齡 (20–25%)"],["布袋鎮","好美里",1161,97,99.1,578,583,97,830,234,"超高齡 (20–25%)"],["布袋鎮","永安里",1035,502,107.8,537,498,53,709,273,"超高齡 (≥25%)"],["布袋鎮","東港里",1926,1015,106.7,994,932,119,1382,425,"超高齡 (20–25%)"],["布袋鎮","江山里",263,138,115.6,141,122,10,172,81,"超高齡 (≥25%)"],["布袋鎮","菜舖里",351,91,132.5,200,151,18,214,119,"超高齡 (≥25%)"],["布袋鎮","考試里",256,46,106.5,132,124,8,165,83,"超高齡 (≥25%)"],["布袋鎮","振寮里",707,351,122.3,389,318,48,470,189,"超高齡 (≥25%)"],["布袋鎮","西安里",1151,1210,117.2,621,530,78,706,367,"超高齡 (≥25%)"],["布袋鎮","東安里",1301,869,117.9,704,597,79,837,385,"超高齡 (≥25%)"],["布袋鎮","中安里",1348,556,113.6,717,631,58,888,402,"超高齡 (≥25%)"],["布袋鎮","樹林里",554,94,126.1,309,245,34,373,147,"超高齡 (≥25%)"],["布袋鎮","貴舍里",583,129,126.8,326,257,21,381,181,"超高齡 (≥25%)"],["大林鎮","東林里",588,10155,86.7,273,315,57,374,157,"超高齡 (≥25%)"],["大林鎮","西林里",2074,4809,99.4,1034,1040,216,1273,585,"超高齡 (≥25%)"],["大林鎮","吉林里",1020,8259,101.6,514,506,102,646,272,"超高齡 (≥25%)"],["大林鎮","平林里",6971,2749,91.2,3326,3645,720,4857,1394,"高齡 (14–20%)"],["大林鎮","明華里",1159,400,107.3,600,559,88,743,328,"超高齡 (≥25%)"],["大林鎮","明和里",2278,1241,102.3,1152,1126,290,1603,385,"高齡 (14–20%)"],["大林鎮","排路里",571,222,118.8,310,261,21,374,176,"超高齡 (≥25%)"],["大林鎮","西結里",688,278,111,362,326,40,424,224,"超高齡 (≥25%)"],["大林鎮","湖北里",595,150,122.8,328,267,34,363,198,"超高齡 (≥25%)"],["大林鎮","大糖里",162,124,76.1,70,92,5,94,63,"超高齡 (≥25%)"],["大林鎮","大美里",1682,468,107.7,872,810,138,1108,436,"超高齡 (≥25%)"],["大林鎮","過溪里",1476,344,110,773,703,93,957,426,"超高齡 (≥25%)"],["大林鎮","中坑里",1402,92,105,718,684,94,902,406,"超高齡 (≥25%)"],["大林鎮","上林里",786,307,115.3,421,365,39,488,259,"超高齡 (≥25%)"],["大林鎮","中林里",1590,479,109.2,830,760,117,1062,411,"超高齡 (≥25%)"],["大林鎮","三和里",2260,492,101.2,1137,1123,185,1514,561,"超高齡 (20–25%)"],["大林鎮","溝背里",987,1020,110.9,519,468,83,622,282,"超高齡 (≥25%)"],["大林鎮","義和里",672,436,110.7,353,319,49,447,176,"超高齡 (≥25%)"],["大林鎮","內林里",665,656,119.5,362,303,51,417,197,"超高齡 (≥25%)"],["大林鎮","三角里",940,163,103.9,479,461,93,615,232,"超高齡 (20–25%)"],["大林鎮","三村里",887,244,106.3,457,430,84,589,214,"超高齡 (20–25%)"],["民雄鄉","東榮村",2590,2483,106.5,1336,1254,241,1693,656,"超高齡 (≥25%)"],["民雄鄉","中樂村",1645,4511,100.9,826,819,160,1036,449,"超高齡 (≥25%)"],["民雄鄉","西安村",3943,3864,97.2,1944,1999,466,2630,847,"超高齡 (20–25%)"],["民雄鄉","寮頂村",2447,722,95.6,1196,1251,279,1655,513,"超高齡 (20–25%)"],["民雄鄉","福權村",1704,659,108.6,887,817,169,1154,381,"超高齡 (20–25%)"],["民雄鄉","東湖村",1904,667,108.3,990,914,170,1257,477,"超高齡 (≥25%)"],["民雄鄉","頂崙村",1679,1169,111.2,884,795,176,1125,378,"超高齡 (20–25%)"],["民雄鄉","菁埔村",1786,419,116.7,962,824,142,1215,429,"超高齡 (20–25%)"],["民雄鄉","中和村",1225,644,102.1,619,606,155,817,253,"超高齡 (20–25%)"],["民雄鄉","平和村",893,339,108.6,465,428,79,629,185,"超高齡 (20–25%)"],["民雄鄉","西昌村",1087,521,103.2,552,535,136,760,191,"高齡 (14–20%)"],["民雄鄉","豊收村",2460,345,107.6,1275,1185,237,1653,570,"超高齡 (20–25%)"],["民雄鄉","三興村",1698,305,106.1,874,824,193,1209,296,"高齡 (14–20%)"],["民雄鄉","東興村",532,137,112.8,282,250,40,339,153,"超高齡 (≥25%)"],["民雄鄉","鎮北村",1709,917,102.7,866,843,204,1249,256,"高齡 (14–20%)"],["民雄鄉","興中村",1980,838,107.8,1027,953,195,1327,458,"超高齡 (20–25%)"],["民雄鄉","興南村",3105,1909,95.9,1520,1585,300,2230,575,"高齡 (14–20%)"],["民雄鄉","福興村",2096,694,115.4,1123,973,127,1503,466,"超高齡 (20–25%)"],["民雄鄉","文隆村",2892,1190,104.7,1479,1413,283,2030,579,"超高齡 (20–25%)"],["民雄鄉","山中村",3886,922,107.8,2016,1870,339,2674,873,"超高齡 (20–25%)"],["民雄鄉","中央村",1291,453,113.7,687,604,76,901,314,"超高齡 (20–25%)"],["民雄鄉","北斗村",6232,2564,98.1,3086,3146,610,4655,967,"高齡 (14–20%)"],["民雄鄉","双福村",2835,1087,101.6,1429,1406,240,2146,449,"高齡 (14–20%)"],["民雄鄉","大崎村",2513,343,105.3,1289,1224,176,1733,604,"超高齡 (20–25%)"],["民雄鄉","秀林村",2933,937,105.8,1508,1425,203,2106,624,"超高齡 (20–25%)"],["民雄鄉","松山村",1907,273,105.1,977,930,171,1317,419,"超高齡 (20–25%)"],["民雄鄉","金興村",3146,5934,96.4,1544,1602,206,2210,730,"超高齡 (20–25%)"],["民雄鄉","福樂村",7847,4254,99.7,3917,3930,876,5797,1174,"高齡 (14–20%)"],["溪口鄉","溪東村",1301,1456,101.1,654,647,79,817,405,"超高齡 (≥25%)"],["溪口鄉","溪西村",677,922,124.2,375,302,35,428,214,"超高齡 (≥25%)"],["溪口鄉","溪北村",629,222,123.8,348,281,46,399,184,"超高齡 (≥25%)"],["溪口鄉","游東村",973,326,116.2,523,450,68,626,279,"超高齡 (≥25%)"],["溪口鄉","游西村",664,396,133.8,380,284,45,389,230,"超高齡 (≥25%)"],["溪口鄉","柴林村",746,665,115.6,400,346,53,487,206,"超高齡 (≥25%)"],["溪口鄉","林腳村",776,738,131.6,441,335,39,527,210,"超高齡 (≥25%)"],["溪口鄉","美南村",1094,408,108,568,526,51,727,316,"超高齡 (≥25%)"],["溪口鄉","美北村",968,403,131,549,419,72,639,257,"超高齡 (≥25%)"],["溪口鄉","本厝村",936,231,113.2,497,439,53,591,292,"超高齡 (≥25%)"],["溪口鄉","柳溝村",1301,400,114,693,608,87,892,322,"超高齡 (20–25%)"],["溪口鄉","疊溪村",1030,310,108.9,537,493,58,710,262,"超高齡 (≥25%)"],["溪口鄉","妙崙村",676,203,109.9,354,322,49,432,195,"超高齡 (≥25%)"],["溪口鄉","坪頂村",913,421,114.3,487,426,60,603,250,"超高齡 (≥25%)"],["新港鄉","宮前村",2542,1912,108.5,1323,1219,281,1727,534,"超高齡 (20–25%)"],["新港鄉","宮後村",1621,2202,105.4,832,789,138,1074,409,"超高齡 (≥25%)"],["新港鄉","大興村",1561,4034,99.9,780,781,154,1004,403,"超高齡 (≥25%)"],["新港鄉","福德村",1799,2833,107,930,869,196,1166,437,"超高齡 (20–25%)"],["新港鄉","古民村",1485,1476,108,771,714,116,1062,307,"超高齡 (20–25%)"],["新港鄉","中庄村",1665,694,118.5,903,762,112,1134,419,"超高齡 (≥25%)"],["新港鄉","大潭村",1775,367,110.3,931,844,166,1173,436,"超高齡 (20–25%)"],["新港鄉","西庄村",957,420,124.6,531,426,84,618,255,"超高齡 (≥25%)"],["新港鄉","埤子村",546,210,109.2,285,261,32,340,174,"超高齡 (≥25%)"],["新港鄉","南崙村",904,260,122.1,497,407,53,585,266,"超高齡 (≥25%)"],["新港鄉","北崙村",472,1081,116.5,254,218,36,319,117,"超高齡 (20–25%)"],["新港鄉","海瀛村",518,157,129.2,292,226,48,315,155,"超高齡 (≥25%)"],["新港鄉","月眉村",1707,572,120,931,776,136,1110,461,"超高齡 (≥25%)"],["新港鄉","月潭村",1545,716,114.9,826,719,125,1040,380,"超高齡 (20–25%)"],["新港鄉","溪北村",1344,320,120,733,611,83,874,387,"超高齡 (≥25%)"],["新港鄉","三間村",1864,668,101.7,940,924,174,1448,242,"高齡化 (7–14%)"],["新港鄉","中洋村",1026,186,111.1,540,486,80,665,281,"超高齡 (≥25%)"],["新港鄉","菜公村",1016,256,111.7,536,480,93,658,265,"超高齡 (≥25%)"],["新港鄉","安和村",1000,267,112.8,530,470,55,639,306,"超高齡 (≥25%)"],["新港鄉","潭大村",1227,166,116,659,568,126,800,301,"超高齡 (20–25%)"],["新港鄉","南港村",1064,249,108.6,554,510,80,687,297,"超高齡 (≥25%)"],["新港鄉","板頭村",561,313,115.8,301,260,41,359,161,"超高齡 (≥25%)"],["新港鄉","共和村",914,223,111.1,481,433,88,576,250,"超高齡 (≥25%)"],["六腳鄉","蒜頭村",1239,786,110,649,590,89,771,379,"超高齡 (≥25%)"],["六腳鄉","蒜東村",755,843,118.8,410,345,35,482,238,"超高齡 (≥25%)"],["六腳鄉","蒜南村",868,938,118.6,471,397,47,566,255,"超高齡 (≥25%)"],["六腳鄉","工廠村",199,108,105.2,102,97,4,108,87,"超高齡 (≥25%)"],["六腳鄉","灣南村",1185,383,121.9,651,534,78,795,312,"超高齡 (≥25%)"],["六腳鄉","灣北村",1137,583,106,585,552,70,746,321,"超高齡 (≥25%)"],["六腳鄉","雙涵村",873,291,119.3,475,398,54,562,257,"超高齡 (≥25%)"],["六腳鄉","塗師村",599,374,122.7,330,269,34,378,187,"超高齡 (≥25%)"],["六腳鄉","三義村",691,274,110.7,363,328,34,458,199,"超高齡 (≥25%)"],["六腳鄉","港美村",700,250,120.1,382,318,35,449,216,"超高齡 (≥25%)"],["六腳鄉","豐美村",1032,499,111.5,544,488,82,713,237,"超高齡 (20–25%)"],["六腳鄉","六斗村",931,323,117,502,429,55,643,233,"超高齡 (≥25%)"],["六腳鄉","崙陽村",1051,631,97.9,520,531,63,698,290,"超高齡 (≥25%)"],["六腳鄉","蘇厝村",1547,854,107.4,801,746,73,1058,416,"超高齡 (≥25%)"],["六腳鄉","竹本村",563,317,108.5,293,270,28,328,207,"超高齡 (≥25%)"],["六腳鄉","永賢村",431,142,100.5,216,215,13,235,183,"超高齡 (≥25%)"],["六腳鄉","魚寮村",594,196,121.6,326,268,33,349,212,"超高齡 (≥25%)"],["六腳鄉","潭墘村",859,242,109.5,449,410,48,539,272,"超高齡 (≥25%)"],["六腳鄉","正義村",1374,239,123.1,758,616,40,920,414,"超高齡 (≥25%)"],["六腳鄉","溪厝村",551,279,113.6,293,258,22,343,186,"超高齡 (≥25%)"],["六腳鄉","六腳村",685,331,113.4,364,321,37,407,241,"超高齡 (≥25%)"],["六腳鄉","六南村",501,242,114.1,267,234,24,300,177,"超高齡 (≥25%)"],["六腳鄉","崩山村",590,147,128.7,332,258,27,358,205,"超高齡 (≥25%)"],["六腳鄉","古林村",616,170,120.8,337,279,26,351,239,"超高齡 (≥25%)"],["六腳鄉","更寮村",557,188,131.1,316,241,39,365,153,"超高齡 (≥25%)"],["東石鄉","東石村",2111,1318,103.4,1073,1038,151,1535,425,"超高齡 (20–25%)"],["東石鄉","猿樹村",927,911,97.2,457,470,65,645,217,"超高齡 (20–25%)"],["東石鄉","型厝村",1318,613,112.2,697,621,78,927,313,"超高齡 (20–25%)"],["東石鄉","塭港村",1688,2890,106.4,870,818,135,1187,366,"超高齡 (20–25%)"],["東石鄉","三家村",1177,311,114,627,550,71,797,309,"超高齡 (≥25%)"],["東石鄉","永屯村",733,200,100.3,367,366,48,509,176,"超高齡 (20–25%)"],["東石鄉","海埔村",367,122,122.4,202,165,15,215,137,"超高齡 (≥25%)"],["東石鄉","龍港村",805,371,123.6,445,360,21,532,252,"超高齡 (≥25%)"],["東石鄉","副瀨村",880,416,121.1,482,398,48,572,260,"超高齡 (≥25%)"],["東石鄉","下揖村",711,152,129.4,401,310,25,457,229,"超高齡 (≥25%)"],["東石鄉","頂揖村",372,271,115,199,173,4,242,126,"超高齡 (≥25%)"],["東石鄉","溪下村",956,324,123.9,529,427,34,642,280,"超高齡 (≥25%)"],["東石鄉","港墘村",1198,667,119.8,653,545,86,778,334,"超高齡 (≥25%)"],["東石鄉","蔦松村",911,274,107.5,472,439,61,613,237,"超高齡 (≥25%)"],["東石鄉","圍潭村",626,320,126.8,350,276,34,381,211,"超高齡 (≥25%)"],["東石鄉","洲仔村",828,268,115.1,443,385,59,557,212,"超高齡 (≥25%)"],["東石鄉","東崙村",678,199,115.2,363,315,27,463,188,"超高齡 (≥25%)"],["東石鄉","西崙村",1132,463,106.2,583,549,74,782,276,"超高齡 (20–25%)"],["東石鄉","塭仔村",902,161,114.8,482,420,33,636,233,"超高齡 (≥25%)"],["東石鄉","網寮村",1199,285,111.1,631,568,78,825,296,"超高齡 (20–25%)"],["東石鄉","掌潭村",758,106,101.6,382,376,43,523,192,"超高齡 (≥25%)"],["東石鄉","港口村",269,100,177.3,172,97,9,164,96,"超高齡 (≥25%)"],["東石鄉","鰲鼓村",1254,72,112.2,663,591,83,849,322,"超高齡 (≥25%)"],["義竹鄉","岸腳村",648,212,113.2,344,304,42,379,227,"超高齡 (≥25%)"],["義竹鄉","義竹村",1459,638,101.5,735,724,121,863,475,"超高齡 (≥25%)"],["義竹鄉","六桂村",1128,1422,102.5,571,557,76,684,368,"超高齡 (≥25%)"],["義竹鄉","仁里村",861,1714,99.3,429,432,58,522,281,"超高齡 (≥25%)"],["義竹鄉","傳芳村",797,358,104.9,408,389,61,545,191,"超高齡 (20–25%)"],["義竹鄉","頭竹村",1209,255,117.8,654,555,59,752,398,"超高齡 (≥25%)"],["義竹鄉","五厝村",383,306,135,220,163,43,213,127,"超高齡 (≥25%)"],["義竹鄉","中平村",391,139,116,210,181,20,217,154,"超高齡 (≥25%)"],["義竹鄉","埤前村",701,198,119.7,382,319,35,446,220,"超高齡 (≥25%)"],["義竹鄉","平溪村",421,143,117,227,194,32,282,107,"超高齡 (≥25%)"],["義竹鄉","後鎮村",420,219,118.8,228,192,17,270,133,"超高齡 (≥25%)"],["義竹鄉","北華村",532,85,108.6,277,255,22,375,135,"超高齡 (≥25%)"],["義竹鄉","新店村",1470,213,97.8,727,743,109,1000,361,"超高齡 (20–25%)"],["義竹鄉","東過村",804,275,109.4,420,384,32,555,217,"超高齡 (≥25%)"],["義竹鄉","西過村",772,159,94.5,375,397,28,526,218,"超高齡 (≥25%)"],["義竹鄉","官和村",804,246,103.5,409,395,54,565,185,"超高齡 (20–25%)"],["義竹鄉","官順村",435,170,98.6,216,219,27,307,101,"超高齡 (20–25%)"],["義竹鄉","新富村",467,107,133.5,267,200,12,293,162,"超高齡 (≥25%)"],["義竹鄉","東光村",688,79,116.4,370,318,31,410,247,"超高齡 (≥25%)"],["義竹鄉","東榮村",352,113,133.1,201,151,16,205,131,"超高齡 (≥25%)"],["義竹鄉","龍蛟村",505,120,148.8,302,203,21,295,189,"超高齡 (≥25%)"],["義竹鄉","溪洲村",611,105,108.5,318,293,19,333,259,"超高齡 (≥25%)"],["鹿草鄉","後寮村",533,210,107.4,276,257,37,340,156,"超高齡 (≥25%)"],["鹿草鄉","鹿東村",553,193,129.5,312,241,38,353,162,"超高齡 (≥25%)"],["鹿草鄉","鹿草村",1267,888,111.2,667,600,78,825,364,"超高齡 (≥25%)"],["鹿草鄉","西井村",1424,256,111.6,751,673,109,939,376,"超高齡 (≥25%)"],["鹿草鄉","豊稠村",761,105,206.9,513,248,64,544,153,"超高齡 (20–25%)"],["鹿草鄉","重寮村",996,451,124.3,552,444,27,606,363,"超高齡 (≥25%)"],["鹿草鄉","施家村",419,225,138.1,243,176,22,237,160,"超高齡 (≥25%)"],["鹿草鄉","下潭村",773,587,137.8,448,325,32,441,300,"超高齡 (≥25%)"],["鹿草鄉","光潭村",1019,257,119.1,554,465,60,627,332,"超高齡 (≥25%)"],["鹿草鄉","碧潭村",905,272,105.2,464,441,48,541,316,"超高齡 (≥25%)"],["鹿草鄉","松竹村",913,563,126,509,404,58,562,293,"超高齡 (≥25%)"],["鹿草鄉","竹山村",905,132,107.1,468,437,58,566,281,"超高齡 (≥25%)"],["鹿草鄉","後堀村",1126,341,118.6,611,515,68,689,369,"超高齡 (≥25%)"],["鹿草鄉","三角村",1396,329,103.8,711,685,84,895,417,"超高齡 (≥25%)"],["鹿草鄉","下麻村",586,92,111.6,309,277,43,368,175,"超高齡 (≥25%)"],["水上鄉","水上村",4716,3488,101.5,2376,2340,464,3371,881,"高齡 (14–20%)"],["水上鄉","水頭村",2791,3053,107,1443,1348,225,1977,589,"超高齡 (20–25%)"],["水上鄉","大堀村",1804,309,117.3,974,830,167,1199,438,"超高齡 (20–25%)"],["水上鄉","大崙村",2232,821,116.5,1201,1031,158,1591,483,"超高齡 (20–25%)"],["水上鄉","塗溝村",834,310,123,460,374,51,581,202,"超高齡 (20–25%)"],["水上鄉","粗溪村",1695,272,104,864,831,150,1177,368,"超高齡 (20–25%)"],["水上鄉","下寮村",1994,1633,104.1,1017,977,93,1495,406,"超高齡 (20–25%)"],["水上鄉","三和村",1872,1120,112.7,992,880,169,1362,341,"高齡 (14–20%)"],["水上鄉","回歸村",446,585,90.6,212,234,40,311,95,"超高齡 (20–25%)"],["水上鄉","三鎮村",662,797,103.1,336,326,40,483,139,"超高齡 (20–25%)"],["水上鄉","靖和村",410,175,100,205,205,30,231,149,"超高齡 (≥25%)"],["水上鄉","南和村",1386,261,99.7,692,694,94,942,350,"超高齡 (≥25%)"],["水上鄉","龍德村",2018,885,103,1024,994,164,1321,533,"超高齡 (≥25%)"],["水上鄉","溪洲村",1084,371,100.4,543,541,74,710,300,"超高齡 (≥25%)"],["水上鄉","柳林村",2322,1294,107.3,1202,1120,174,1668,480,"超高齡 (20–25%)"],["水上鄉","柳鄉村",2139,1767,94.3,1038,1101,138,1512,489,"超高齡 (20–25%)"],["水上鄉","柳新村",2037,3362,104.9,1043,994,182,1485,370,"高齡 (14–20%)"],["水上鄉","寬士村",4609,2745,103.3,2342,2267,212,3350,1047,"超高齡 (20–25%)"],["水上鄉","民生村",3053,9883,113,1620,1433,85,2175,793,"超高齡 (≥25%)"],["水上鄉","忠和村",1980,631,101.8,999,981,163,1395,422,"超高齡 (20–25%)"],["水上鄉","中庄村",1827,1541,96.7,898,929,121,1295,411,"超高齡 (20–25%)"],["水上鄉","南鄉村",932,89,123.5,515,417,70,653,209,"超高齡 (20–25%)"],["水上鄉","三界村",1002,279,114.1,534,468,49,681,272,"超高齡 (≥25%)"],["水上鄉","國姓村",1214,531,115.2,650,564,73,817,324,"超高齡 (≥25%)"],["水上鄉","內溪村",1340,549,105.2,687,653,78,978,284,"超高齡 (20–25%)"],["水上鄉","義興村",840,192,122.8,463,377,60,549,231,"超高齡 (≥25%)"],["中埔鄉","中埔村",1948,1002,112,1029,919,196,1315,437,"超高齡 (20–25%)"],["中埔鄉","塩舘村",1020,244,106.1,525,495,109,679,232,"超高齡 (20–25%)"],["中埔鄉","龍門村",801,548,110.2,420,381,74,535,192,"超高齡 (20–25%)"],["中埔鄉","裕民村",876,249,121.2,480,396,46,576,254,"超高齡 (≥25%)"],["中埔鄉","金蘭村",1648,517,108.9,859,789,121,1162,365,"超高齡 (20–25%)"],["中埔鄉","富收村",3171,1274,103.7,1614,1557,253,2227,691,"超高齡 (20–25%)"],["中埔鄉","和睦村",3705,908,102.9,1879,1826,319,2655,731,"高齡 (14–20%)"],["中埔鄉","和美村",7804,3229,97.8,3858,3946,554,5465,1785,"超高齡 (20–25%)"],["中埔鄉","和興村",6287,3023,101.3,3164,3123,491,4440,1356,"超高齡 (20–25%)"],["中埔鄉","隆興村",1965,759,111.7,1037,928,149,1395,421,"超高齡 (20–25%)"],["中埔鄉","義仁村",1689,556,107.7,876,813,110,1192,387,"超高齡 (20–25%)"],["中埔鄉","社口村",2239,227,116.7,1206,1033,203,1495,541,"超高齡 (20–25%)"],["中埔鄉","灣潭村",1014,83,125.3,564,450,46,670,298,"超高齡 (≥25%)"],["中埔鄉","石硦村",1143,63,109.7,598,545,93,709,341,"超高齡 (≥25%)"],["中埔鄉","頂埔村",959,305,118,519,440,67,624,268,"超高齡 (≥25%)"],["中埔鄉","同仁村",1930,291,119.1,1049,881,129,1280,521,"超高齡 (≥25%)"],["中埔鄉","瑞豐村",743,111,120.5,406,337,55,500,188,"超高齡 (≥25%)"],["中埔鄉","沄水村",965,133,116.4,519,446,55,637,273,"超高齡 (≥25%)"],["中埔鄉","三層村",620,99,108.8,323,297,47,424,149,"超高齡 (20–25%)"],["中埔鄉","深坑村",736,117,115.8,395,341,62,467,207,"超高齡 (≥25%)"],["中埔鄉","東興村",351,25,130.9,199,152,13,254,84,"超高齡 (20–25%)"],["中埔鄉","中崙村",271,30,127.7,152,119,10,180,81,"超高齡 (≥25%)"],["竹崎鄉","竹崎村",2855,1525,99.5,1424,1431,343,1855,657,"超高齡 (20–25%)"],["竹崎鄉","和平村",2454,587,106.7,1267,1187,270,1652,532,"超高齡 (20–25%)"],["竹崎鄉","坑頭村",769,189,118.5,417,352,73,486,210,"超高齡 (≥25%)"],["竹崎鄉","沙坑村",808,240,119,439,369,39,548,221,"超高齡 (≥25%)"],["竹崎鄉","獅埜村",1214,167,121.9,667,547,70,807,337,"超高齡 (≥25%)"],["竹崎鄉","義和村",627,300,122.3,345,282,38,412,177,"超高齡 (≥25%)"],["竹崎鄉","義仁村",1047,196,116.3,563,484,47,710,290,"超高齡 (≥25%)"],["竹崎鄉","灣橋村",5569,692,105,2853,2716,367,3870,1332,"超高齡 (20–25%)"],["竹崎鄉","鹿滿村",1501,553,116.6,808,693,124,1027,350,"超高齡 (20–25%)"],["竹崎鄉","紫雲村",1474,611,107,762,712,119,978,377,"超高齡 (≥25%)"],["竹崎鄉","內埔村",1620,709,108.8,844,776,87,1093,440,"超高齡 (≥25%)"],["竹崎鄉","昇平村",1789,302,112.5,947,842,136,1221,432,"超高齡 (20–25%)"],["竹崎鄉","白杞村",590,152,116.1,317,273,27,381,182,"超高齡 (≥25%)"],["竹崎鄉","桃源村",1006,119,130.2,569,437,61,651,294,"超高齡 (≥25%)"],["竹崎鄉","塘興村",820,171,115.8,440,380,37,540,243,"超高齡 (≥25%)"],["竹崎鄉","義隆村",670,166,119,364,306,52,455,163,"超高齡 (20–25%)"],["竹崎鄉","龍山村",1860,326,110.6,977,883,168,1229,463,"超高齡 (20–25%)"],["竹崎鄉","文峯村",647,87,133.6,370,277,40,423,184,"超高齡 (≥25%)"],["竹崎鄉","金獅村",388,54,133.7,222,166,21,243,124,"超高齡 (≥25%)"],["竹崎鄉","復金村",1938,249,117.5,1047,891,197,1211,530,"超高齡 (≥25%)"],["竹崎鄉","緞繻村",923,105,117.7,499,424,79,545,299,"超高齡 (≥25%)"],["竹崎鄉","仁壽村",239,16,162.6,148,91,13,144,82,"超高齡 (≥25%)"],["竹崎鄉","中和村",812,77,126.8,454,358,69,521,222,"超高齡 (≥25%)"],["竹崎鄉","光華村",676,28,135.5,389,287,34,437,205,"超高齡 (≥25%)"],["梅山鄉","梅東村",2324,2109,100.9,1167,1157,217,1451,656,"超高齡 (≥25%)"],["梅山鄉","梅南村",895,995,96.3,439,456,73,531,291,"超高齡 (≥25%)"],["梅山鄉","過山村",523,97,110.9,275,248,30,316,177,"超高齡 (≥25%)"],["梅山鄉","梅北村",4765,2236,101.6,2401,2364,440,3159,1166,"超高齡 (20–25%)"],["梅山鄉","圳南村",389,60,135.8,224,165,17,251,121,"超高齡 (≥25%)"],["梅山鄉","永興村",539,286,105.7,277,262,49,323,167,"超高齡 (≥25%)"],["梅山鄉","半天村",324,118,109,169,155,16,186,122,"超高齡 (≥25%)"],["梅山鄉","圳北村",578,136,113.3,307,271,52,343,183,"超高齡 (≥25%)"],["梅山鄉","大南村",1669,285,125.2,928,741,127,1058,484,"超高齡 (≥25%)"],["梅山鄉","双溪村",553,144,128.5,311,242,42,361,150,"超高齡 (≥25%)"],["梅山鄉","安靖村",783,206,131.7,445,338,34,498,251,"超高齡 (≥25%)"],["梅山鄉","太平村",470,83,132.7,268,202,19,298,153,"超高齡 (≥25%)"],["梅山鄉","碧湖村",273,58,125.6,152,121,5,186,82,"超高齡 (≥25%)"],["梅山鄉","太興村",428,63,116.2,230,198,26,287,115,"超高齡 (≥25%)"],["梅山鄉","瑞峯村",734,50,136,423,311,48,477,209,"超高齡 (≥25%)"],["梅山鄉","瑞里村",615,38,117.3,332,283,41,396,178,"超高齡 (≥25%)"],["梅山鄉","太和村",943,33,132.3,537,406,52,636,255,"超高齡 (≥25%)"],["梅山鄉","龍眼村",389,74,128.8,219,170,19,228,142,"超高齡 (≥25%)"],["番路鄉","江西村",1285,409,109.3,671,614,59,914,312,"超高齡 (20–25%)"],["番路鄉","內甕村",437,72,126.4,244,193,15,279,143,"超高齡 (≥25%)"],["番路鄉","新福村",1369,227,112.2,724,645,94,921,354,"超高齡 (≥25%)"],["番路鄉","下坑村",1999,540,103.2,1015,984,141,1397,461,"超高齡 (20–25%)"],["番路鄉","番路村",868,308,109.7,454,414,57,562,249,"超高齡 (≥25%)"],["番路鄉","民和村",905,223,116,486,419,59,590,256,"超高齡 (≥25%)"],["番路鄉","觸口村",1351,213,108.2,702,649,116,950,285,"超高齡 (20–25%)"],["番路鄉","大湖村",631,55,143.6,372,259,26,410,195,"超高齡 (≥25%)"],["番路鄉","公田村",974,46,117.9,527,447,62,624,288,"超高齡 (≥25%)"],["番路鄉","公興村",461,28,159,283,178,13,278,170,"超高齡 (≥25%)"],["番路鄉","草山村",352,11,121.4,193,159,18,243,91,"超高齡 (≥25%)"],["大埔鄉","大埔村",1569,455,96.4,770,799,136,1100,333,"超高齡 (20–25%)"],["大埔鄉","和平村",682,15,103.6,347,335,53,488,141,"超高齡 (20–25%)"],["大埔鄉","永樂村",437,13,114.2,233,204,38,310,89,"超高齡 (20–25%)"],["大埔鄉","茄苳村",925,24,107.4,479,446,58,656,211,"超高齡 (20–25%)"],["大埔鄉","西興村",556,11,108.2,289,267,28,339,189,"超高齡 (≥25%)"],["阿里山鄉","中山村",359,6,123,198,161,15,228,116,"超高齡 (≥25%)"],["阿里山鄉","中正村",154,25,100,77,77,7,89,58,"超高齡 (≥25%)"],["阿里山鄉","香林村",117,5,105.3,60,57,4,52,61,"超高齡 (≥25%)"],["阿里山鄉","十字村",342,14,132.7,195,147,43,200,99,"超高齡 (≥25%)"],["阿里山鄉","來吉村",335,14,98.2,166,169,32,236,67,"超高齡 (20–25%)"],["阿里山鄉","豐山村",313,8,133.6,179,134,11,226,76,"超高齡 (20–25%)"],["阿里山鄉","達邦村",958,10,103,486,472,103,689,166,"高齡 (14–20%)"],["阿里山鄉","樂野村",1121,45,98.8,557,564,143,801,177,"高齡 (14–20%)"],["阿里山鄉","里佳村",275,4,129.2,155,120,35,191,49,"高齡 (14–20%)"],["阿里山鄉","山美村",571,12,109.2,298,273,77,411,83,"高齡 (14–20%)"],["阿里山鄉","新美村",313,9,98.1,155,158,41,214,58,"高齡 (14–20%)"],["阿里山鄉","茶山村",318,12,109.2,166,152,52,208,58,"高齡 (14–20%)"]]}
|