Datasets:
Duplicate from tmquan/sapnhap-bando-vn
Browse filesCo-authored-by: Tran Minh Quan <tmquan@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +61 -0
- README.md +344 -0
- _stats.json +56 -0
- data/all.parquet +3 -0
- data/committees.parquet +3 -0
- data/communes.parquet +3 -0
- data/provinces.parquet +3 -0
- docs/DATAANALYSIS.md +344 -0
- docs/DATAPROCESSING.md +227 -0
- figures/analysis/01_admin_kind_donut.html +7 -0
- figures/analysis/01_admin_kind_donut.png +3 -0
- figures/analysis/02_macro_region_breakdown.html +7 -0
- figures/analysis/02_macro_region_breakdown.png +3 -0
- figures/analysis/03_province_population.html +7 -0
- figures/analysis/03_province_population.png +3 -0
- figures/analysis/04_province_area.html +7 -0
- figures/analysis/04_province_area.png +3 -0
- figures/analysis/05_province_density.html +7 -0
- figures/analysis/05_province_density.png +3 -0
- figures/analysis/06_communes_per_province.html +7 -0
- figures/analysis/06_communes_per_province.png +3 -0
- figures/analysis/07_merger_fanout_provinces.html +7 -0
- figures/analysis/07_merger_fanout_provinces.png +3 -0
- figures/analysis/08_merger_fanout_communes.html +7 -0
- figures/analysis/08_merger_fanout_communes.png +3 -0
- figures/analysis/09_commune_size_distribution.html +0 -0
- figures/analysis/09_commune_size_distribution.png +3 -0
- figures/analysis/10_decree_map.html +7 -0
- figures/analysis/10_decree_map.png +3 -0
- figures/analysis/11_curator_umap_kind.html +0 -0
- figures/analysis/11_curator_umap_kind.png +3 -0
- figures/analysis/11_provinces_choropleth.html +7 -0
- figures/analysis/11_provinces_choropleth.png +3 -0
- figures/analysis/12_committees_scatter.html +0 -0
- figures/analysis/12_committees_scatter.png +3 -0
- figures/analysis/12_curator_umap_region.html +0 -0
- figures/analysis/12_curator_umap_region.png +3 -0
- figures/analysis/13_curator_umap_kind.html +0 -0
- figures/analysis/13_curator_umap_kind.png +3 -0
- figures/analysis/14_curator_umap_region.html +0 -0
- figures/analysis/14_curator_umap_region.png +3 -0
- figures/maps/01_provinces_population.html +0 -0
- figures/maps/01_provinces_population.png +3 -0
- figures/maps/02_provinces_density.html +0 -0
- figures/maps/02_provinces_density.png +3 -0
- figures/maps/03_provinces_area.html +0 -0
- figures/maps/03_provinces_area.png +3 -0
- figures/maps/04_communes_scatter.html +0 -0
- figures/maps/04_communes_scatter.png +3 -0
- figures/maps/05_committees_scatter.html +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
geo/communes.geojson filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- vi
|
| 4 |
+
- en
|
| 5 |
+
license: cc-by-nc-4.0
|
| 6 |
+
size_categories:
|
| 7 |
+
- 1K<n<10K
|
| 8 |
+
task_categories:
|
| 9 |
+
- tabular-classification
|
| 10 |
+
- tabular-regression
|
| 11 |
+
- text-classification
|
| 12 |
+
tags:
|
| 13 |
+
- vietnamese
|
| 14 |
+
- geography
|
| 15 |
+
- administrative-units
|
| 16 |
+
- post-merger-2025
|
| 17 |
+
- nq-202-2025-qh15
|
| 18 |
+
- gso
|
| 19 |
+
configs:
|
| 20 |
+
- config_name: all
|
| 21 |
+
data_files:
|
| 22 |
+
- split: train
|
| 23 |
+
path: data/all.parquet
|
| 24 |
+
default: true
|
| 25 |
+
- config_name: provinces
|
| 26 |
+
data_files:
|
| 27 |
+
- split: train
|
| 28 |
+
path: data/provinces.parquet
|
| 29 |
+
- config_name: communes
|
| 30 |
+
data_files:
|
| 31 |
+
- split: train
|
| 32 |
+
path: data/communes.parquet
|
| 33 |
+
- config_name: committees
|
| 34 |
+
data_files:
|
| 35 |
+
- split: train
|
| 36 |
+
path: data/committees.parquet
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
# sapnhap-bando-vn — Vietnam's 2025 administrative-merger atlas
|
| 40 |
+
|
| 41 |
+
> 🇻🇳 **Tóm tắt.** Một bản sao đầy đủ, có cấu trúc của
|
| 42 |
+
> <https://sapnhap.bando.com.vn/> — bộ atlas chính thức của
|
| 43 |
+
> **Nhà Xuất Bản Tài Nguyên - Môi Trường và Bản Đồ Việt Nam** về **các
|
| 44 |
+
> đơn vị hành chính sau sáp nhập** theo **Nghị quyết 202/2025/QH15**
|
| 45 |
+
> ngày 12/06/2025 của Quốc hội và **34 nghị quyết** của Ủy ban Thường
|
| 46 |
+
> vụ Quốc hội ban hành ngày 16/06/2025. Mỗi cấp được phơi bày ở dạng
|
| 47 |
+
> *parquet*, *GeoJSON*, biểu đồ tương tác, và embedding 384-d UMAP đã
|
| 48 |
+
> tính sẵn.
|
| 49 |
+
>
|
| 50 |
+
> 🇬🇧 **Summary.** A complete, table-by-table mirror of
|
| 51 |
+
> <https://sapnhap.bando.com.vn/> — the official atlas of
|
| 52 |
+
> **post-merger administrative units** introduced by **National Assembly
|
| 53 |
+
> Resolution 202/2025/QH15** of 12 June 2025 and the **34 follow-up
|
| 54 |
+
> Standing Committee resolutions** of 16 June 2025. Every level is
|
| 55 |
+
> exposed as *parquet*, *GeoJSON*, interactive figures, and a
|
| 56 |
+
> pre-computed 384-d UMAP embedding.
|
| 57 |
+
|
| 58 |
+
## Bối cảnh · Context
|
| 59 |
+
|
| 60 |
+
🇻🇳 Cuộc cải tổ năm 2025 thu gọn Việt Nam từ **63 đơn vị hành chính cấp
|
| 61 |
+
một xuống còn 34** (28 tỉnh + 6 thành phố trực thuộc trung ương) và sắp
|
| 62 |
+
xếp lại tầng dưới: từ **705 huyện ÷ 10 599 xã/phường** giảm còn **3 321
|
| 63 |
+
xã / phường / đơn vị hành chính đặc biệt**. Đây là cuộc tái phân định
|
| 64 |
+
hành chính lớn nhất từ năm 1975.
|
| 65 |
+
|
| 66 |
+
🇬🇧 The 2025 reform collapsed Vietnam from **63 first-level units to 34**
|
| 67 |
+
(28 provinces + 6 centrally-administered cities) and re-drew the second
|
| 68 |
+
tier from **705 districts / 10 599 communes** down to **3 321
|
| 69 |
+
communes / wards / special administrative units**. This is the largest
|
| 70 |
+
administrative re-partition since 1975.
|
| 71 |
+
|
| 72 |
+
🇻🇳 Bộ dữ liệu này lưu lại từng đơn vị còn tồn tại sau sáp nhập, kèm
|
| 73 |
+
thông tin về *gốc gác sáp nhập* (đơn vị tiền nhiệm), diện tích, dân số,
|
| 74 |
+
trụ sở Ủy ban nhân dân, văn bản pháp lý cấp thẩm quyền, và *hình thể
|
| 75 |
+
địa lý* (đa giác hoặc điểm).
|
| 76 |
+
|
| 77 |
+
🇬🇧 This dataset captures every surviving entity together with its
|
| 78 |
+
*merger lineage* (predecessor units), area, population, People's
|
| 79 |
+
Committee headquarters, the decree of authority, and a *geographic
|
| 80 |
+
geometry* (polygon or point).
|
| 81 |
+
|
| 82 |
+
## Tổng quan · At a glance
|
| 83 |
+
|
| 84 |
+
| Chỉ số · Stat | Giá trị · Value |
|
| 85 |
+
|---|---:|
|
| 86 |
+
| Đơn vị hành chính cấp một sau sáp nhập · First-level (post-merger) | **34** |
|
| 87 |
+
| Đơn vị hành chính cấp hai sau sáp nhập · Second-level (post-merger) | **3 321** |
|
| 88 |
+
| Trụ sở UBND · People's-committee HQs | **3 357** |
|
| 89 |
+
| Dân số toàn quốc 2024 · Total population (2024) | **113 571 926** |
|
| 90 |
+
| Diện tích đất liền (km²) · Total land area (km²) | **331 325.62** |
|
| 91 |
+
| Đa giác cấp tỉnh (GeoJSON) · Province polygons | **34** |
|
| 92 |
+
| Đa giác cấp xã (GeoJSON) · Commune polygons | **3 321** |
|
| 93 |
+
| Số đơn vị tiền nhiệm tối đa · Max merger fanout | **16** |
|
| 94 |
+
|
| 95 |
+
## Hình tiêu biểu · Representative figures
|
| 96 |
+
|
| 97 |
+
🇻🇳 Một vòng dạo qua bộ dữ liệu, mỗi pack một hình. Mỗi PNG bên dưới đi
|
| 98 |
+
kèm một file `.html` tương tác (Plotly đầy đủ — pan / zoom / hover /
|
| 99 |
+
legend toggle).
|
| 100 |
+
|
| 101 |
+
🇬🇧 A curated tour, one figure per pack. Every PNG below has a
|
| 102 |
+
matching `.html` next to it — the **fully-interactive Plotly version**
|
| 103 |
+
(pan / zoom / hover tooltips / legend toggle).
|
| 104 |
+
|
| 105 |
+
### Cartographic pack — population by post-merger province · dân số theo tỉnh
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
|
| 109 |
+
🇻🇳 Choropleth tô bằng thang xanh tuần tự. Hai khung viền nét đứt phía
|
| 110 |
+
phải khai báo hai quần đảo ngoài khơi: **Quần đảo Hoàng Sa** (do Đà Nẵng
|
| 111 |
+
quản lý) và **Quần đảo Trường Sa** (do Khánh Hòa quản lý) — theo quy
|
| 112 |
+
ước của các atlas Việt Nam. Tương tác:
|
| 113 |
+
[`figures/maps/01_provinces_population.html`](figures/maps/01_provinces_population.html).
|
| 114 |
+
|
| 115 |
+
🇬🇧 A sequential green-scale choropleth. The two dashed boxes on the
|
| 116 |
+
right declare the offshore archipelagos **Quần đảo Hoàng Sa**
|
| 117 |
+
(administered by Đà Nẵng) and **Quần đảo Trường Sa** (administered by
|
| 118 |
+
Khánh Hòa) following standard Vietnamese-atlas convention. Interactive:
|
| 119 |
+
[`figures/maps/01_provinces_population.html`](figures/maps/01_provinces_population.html).
|
| 120 |
+
|
| 121 |
+
### Cartographic pack — 3 321 communes by macro-region · 3 321 xã theo vùng địa lý
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
|
| 125 |
+
🇻🇳 Một dấu chấm cho mỗi xã / phường còn tồn tại; tô màu theo 6 vùng
|
| 126 |
+
địa lý của Tổng cục Thống kê.
|
| 127 |
+
|
| 128 |
+
🇬🇧 One dot per surviving commune-level admin unit; coloured by GSO
|
| 129 |
+
macro-region.
|
| 130 |
+
Interactive: [`figures/maps/04_communes_scatter.html`](figures/maps/04_communes_scatter.html).
|
| 131 |
+
|
| 132 |
+
### Analytical pack — 34 provinces by population · 34 tỉnh theo dân số
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+
🇻🇳 Bar chart sắp xếp giảm dần, tô màu theo vùng địa lý. TPHCM
|
| 137 |
+
(sau sáp nhập: 14.0 triệu) và Hà Nội (8.8 triệu) chiếm ưu thế; đuôi
|
| 138 |
+
dài là các tỉnh miền núi phía Bắc dưới 2 triệu dân.
|
| 139 |
+
|
| 140 |
+
🇬🇧 Sorted bar chart; colour by macro-region. TP HCM (post-merger:
|
| 141 |
+
14.0 M) and Hà Nội (8.8 M) dominate; the long tail runs into
|
| 142 |
+
Northern-Midlands provinces with under 2 M people.
|
| 143 |
+
Interactive: [`figures/analysis/03_province_population.html`](figures/analysis/03_province_population.html).
|
| 144 |
+
|
| 145 |
+
### Analytical pack — commune merger fanout · Số đơn vị tiền nhiệm
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
|
| 149 |
+
🇻🇳 Mỗi xã / phường mới gộp từ bao nhiêu đơn vị cũ. Mode = 3; max = **16**
|
| 150 |
+
(Phường Văn Miếu - Quốc Tử Giám, Hà Nội).
|
| 151 |
+
|
| 152 |
+
🇬🇧 How many predecessor wards / xã were absorbed by each surviving
|
| 153 |
+
commune. Modal value 3; max value **16** (Phường Văn Miếu - Quốc Tử
|
| 154 |
+
Giám in Hà Nội).
|
| 155 |
+
Interactive: [`figures/analysis/08_merger_fanout_communes.html`](figures/analysis/08_merger_fanout_communes.html).
|
| 156 |
+
|
| 157 |
+
### Analytical pack — UMAP × macro-region · UMAP của embedding × vùng địa lý
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
|
| 161 |
+
🇻🇳 Mỗi đơn vị được mã hoá thành một vector 384-d bằng
|
| 162 |
+
`sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2` từ mô tả
|
| 163 |
+
gốc gác sáp nhập, sau đó chiếu xuống 2-D bằng UMAP (cosine, 15 hàng
|
| 164 |
+
xóm, `min_dist=0.1`). Các "thuỳ" theo vùng địa lý xuất hiện
|
| 165 |
+
**chỉ từ embedding** — mô hình không hề được cho biết nhãn vùng.
|
| 166 |
+
|
| 167 |
+
🇬🇧 Each entity's merger-lineage prose is encoded into a 384-d vector
|
| 168 |
+
by `sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2`, then
|
| 169 |
+
projected to 2-D with UMAP (cosine, 15 neighbours, `min_dist=0.1`).
|
| 170 |
+
The macro-region lobes emerge **from the embedding alone** — the
|
| 171 |
+
model has never seen the macro-region label.
|
| 172 |
+
Interactive: [`figures/analysis/12_curator_umap_region.html`](figures/analysis/12_curator_umap_region.html).
|
| 173 |
+
|
| 174 |
+
### Inventory đầy đủ · Full inventory — 17 figures
|
| 175 |
+
|
| 176 |
+
| Pack | Files | Style |
|
| 177 |
+
|---|---|---|
|
| 178 |
+
| `figures/maps/` | 5 PNG + 5 HTML pairs (1100 × 1100) | Sans-serif typeface; dual-archipelago declaration |
|
| 179 |
+
| `figures/analysis/` | 12 PNG + 12 HTML pairs (1200 × 900) | LaTeX-serif typeface; sequential green palette |
|
| 180 |
+
|
| 181 |
+
## Cấu trúc kho · What's on the Hub
|
| 182 |
+
|
| 183 |
+
```
|
| 184 |
+
.
|
| 185 |
+
├── README.md (this file)
|
| 186 |
+
├── _stats.json numbers / tables this card quotes
|
| 187 |
+
├── data/
|
| 188 |
+
│ ├── all.parquet 6 712 rows = provinces + communes + committees
|
| 189 |
+
│ ├── provinces.parquet 34 rows
|
| 190 |
+
│ ├── communes.parquet 3 321 rows
|
| 191 |
+
│ └── committees.parquet 3 357 rows
|
| 192 |
+
├── geo/
|
| 193 |
+
│ ├── provinces.geojson 34 polygons (FeatureCollection)
|
| 194 |
+
│ └── communes.geojson 3 321 polygons (FeatureCollection)
|
| 195 |
+
├── reduced/
|
| 196 |
+
│ └── reduced.parquet UMAP 2-D coords + HDBSCAN cluster id
|
| 197 |
+
├── figures/
|
| 198 |
+
│ ├── analysis/ 12 PNG + 12 HTML pairs (LaTeX-serif theme)
|
| 199 |
+
│ └── maps/ 5 PNG + 5 HTML pairs (sans-serif + archipelagos)
|
| 200 |
+
├── notebooks/DATAANALYSIS.ipynb
|
| 201 |
+
├── docs/{DATAPROCESSING,DATAANALYSIS}.md
|
| 202 |
+
└── raw/{admin_units,committees}.json (source listings)
|
| 203 |
+
```
|
| 204 |
+
|
| 205 |
+
🇻🇳 Mọi figure trong thư mục `figures/` đều có **hai bản**: PNG tĩnh để
|
| 206 |
+
nhúng trong card này, và HTML tương tác đầy đủ Plotly. Bấm vào link
|
| 207 |
+
HTML hoặc tải `.html` về để mở trong trình duyệt.
|
| 208 |
+
|
| 209 |
+
🇬🇧 Every figure under `figures/` ships in **both formats** — the static
|
| 210 |
+
PNG for inline rendering in this card, plus a self-contained
|
| 211 |
+
**interactive HTML** with the full Plotly toolkit. Click any HTML link
|
| 212 |
+
or download the `.html` to open it locally.
|
| 213 |
+
|
| 214 |
+
## Phân theo vùng địa lý · Per-macro-region inventory
|
| 215 |
+
|
| 216 |
+
| Vùng địa lý · Macro-region (EN) | Tỉnh · Provinces | Xã · Communes | UBND · Committees |
|
| 217 |
+
|---|---:|---:|---:|
|
| 218 |
+
| Trung du và miền núi phía Bắc · Northern Midlands & Mountain Areas | 10 | 841 | 842 |
|
| 219 |
+
| Đồng bằng sông Hồng · Red River Delta | 5 | 527 | 502 |
|
| 220 |
+
| Bắc Trung Bộ và duyên hải miền Trung · North Central & Coastal | 8 | 738 | 737 |
|
| 221 |
+
| Tây Nguyên · Central Highlands | 3 | 361 | 380 |
|
| 222 |
+
| Đông Nam Bộ · Southeast | 3 | 359 | 358 |
|
| 223 |
+
| Đồng bằng sông Cửu Long · Mekong River Delta | 5 | 495 | 537 |
|
| 224 |
+
|
| 225 |
+
## Cách dữ liệu được tạo · How the corpus was built
|
| 226 |
+
|
| 227 |
+
🇻🇳 Hình thể trên đĩa được sinh ra qua một pipeline 5 bước:
|
| 228 |
+
|
| 229 |
+
🇬🇧 The on-disk shape is produced by a 5-stage curation pipeline:
|
| 230 |
+
|
| 231 |
+
```
|
| 232 |
+
download → parse → extract → embed → reduce
|
| 233 |
+
```
|
| 234 |
+
|
| 235 |
+
* **download** — POST đến 4 endpoint của `sapnhap.bando.com.vn`
|
| 236 |
+
(`p.co_dvhc`, `p.co_uyban`, `p.co_dvhc_id`, `pread_json`); ~6 700 lượt
|
| 237 |
+
gọi; cache đĩa nên re-run miễn phí. — POST to four endpoints; ~6 700
|
| 238 |
+
calls; cached to disk so re-runs are free.
|
| 239 |
+
* **parse** — chuẩn hoá số kiểu Việt (`"4.199.824"` → `4 199 824`),
|
| 240 |
+
tóm tắt GeoJSON thành centroid + bbox + WKT, gắn province cha cho
|
| 241 |
+
từng xã / UBND. — Normalise Vietnamese-formatted numbers, summarise
|
| 242 |
+
GeoJSON to centroid + bbox + WKT, attach parent-province for every
|
| 243 |
+
commune & committee.
|
| 244 |
+
* **extract** — TF-IDF keywords trên mô tả gốc gác sáp nhập; gắn vùng
|
| 245 |
+
địa lý theo bản ánh xạ chính thức 34 → 6 của Tổng cục Thống kê. —
|
| 246 |
+
TF-IDF over the merger-lineage prose; macro-region attachment from
|
| 247 |
+
the curated 34 → 6 GSO mapping.
|
| 248 |
+
* **embed** — `sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2`
|
| 249 |
+
trên CPU (384-d) trên các mô tả tiếng Việt chuẩn hoá. — A 384-d
|
| 250 |
+
multilingual sentence encoder over the canonical Vietnamese descriptors.
|
| 251 |
+
* **reduce** — UMAP 2-D + HDBSCAN cụm theo mật độ. — UMAP → 2-D
|
| 252 |
+
coordinates + density-based HDBSCAN clusters.
|
| 253 |
+
|
| 254 |
+
🇻🇳 Xem [`docs/DATAPROCESSING.md`](docs/DATAPROCESSING.md) để biết toàn
|
| 255 |
+
bộ giao thức crawl, [`docs/DATAANALYSIS.md`](docs/DATAANALYSIS.md) cho
|
| 256 |
+
tour phân tích, và sổ tay
|
| 257 |
+
[`notebooks/DATAANALYSIS.ipynb`](notebooks/DATAANALYSIS.ipynb) cho các
|
| 258 |
+
ô Plotly đã thực thi.
|
| 259 |
+
|
| 260 |
+
🇬🇧 See [`docs/DATAPROCESSING.md`](docs/DATAPROCESSING.md) for the full
|
| 261 |
+
crawl protocol, [`docs/DATAANALYSIS.md`](docs/DATAANALYSIS.md) for the
|
| 262 |
+
analytical walkthrough, and the
|
| 263 |
+
[`notebooks/DATAANALYSIS.ipynb`](notebooks/DATAANALYSIS.ipynb) notebook
|
| 264 |
+
for the executed Plotly outputs.
|
| 265 |
+
|
| 266 |
+
## Cách dùng · Usage
|
| 267 |
+
|
| 268 |
+
```python
|
| 269 |
+
from datasets import load_dataset
|
| 270 |
+
|
| 271 |
+
# Default config — toàn bộ 6 712 dòng (34 tỉnh + 3 321 xã + 3 357 UBND)
|
| 272 |
+
ds = load_dataset("tmquan/sapnhap-bando-vn")["train"]
|
| 273 |
+
print(ds.column_names)
|
| 274 |
+
# -> ['id', 'kind', 'ma', 'ten', 'type', 'ten_short', 'area_km2',
|
| 275 |
+
# 'population', 'density', 'capital', 'address', 'phone', 'decree',
|
| 276 |
+
# 'decree_url', 'predecessors', 'parent_ma', 'parent_ten',
|
| 277 |
+
# 'centroid_lon', 'centroid_lat', 'bbox', 'geom_type', 'wkt',
|
| 278 |
+
# 'predecessors_list', 'n_predecessors', 'macro_region',
|
| 279 |
+
# 'embed_text', 'keywords']
|
| 280 |
+
|
| 281 |
+
# Chỉ 34 đơn vị cấp tỉnh
|
| 282 |
+
provinces = load_dataset("tmquan/sapnhap-bando-vn", "provinces")["train"]
|
| 283 |
+
|
| 284 |
+
# Chỉ 3 321 xã / phường
|
| 285 |
+
communes = load_dataset("tmquan/sapnhap-bando-vn", "communes")["train"]
|
| 286 |
+
|
| 287 |
+
# Chỉ 3 357 trụ sở Ủy ban nhân dân
|
| 288 |
+
committees = load_dataset("tmquan/sapnhap-bando-vn", "committees")["train"]
|
| 289 |
+
|
| 290 |
+
# Tải GeoJSON riêng (datasets không tự nạp .geojson)
|
| 291 |
+
import huggingface_hub as hf, json
|
| 292 |
+
path = hf.hf_hub_download(
|
| 293 |
+
"tmquan/sapnhap-bando-vn", "geo/provinces.geojson", repo_type="dataset",
|
| 294 |
+
)
|
| 295 |
+
fc = json.load(open(path, "r", encoding="utf-8"))
|
| 296 |
+
print(len(fc["features"])) # 34
|
| 297 |
+
```
|
| 298 |
+
|
| 299 |
+
## Giấy phép · License & terms
|
| 300 |
+
|
| 301 |
+
🇻🇳 Dữ liệu gốc thuộc về **Bộ Nông nghiệp và Môi trường** và **Nhà Xuất
|
| 302 |
+
Bản Tài Nguyên - Môi Trường và Bản Đồ Việt Nam**. Bản phân phối lại
|
| 303 |
+
này dùng giấy phép **CC-BY-NC 4.0** — *vui lòng kiểm tra điều khoản
|
| 304 |
+
sử dụng của trang nguồn trước khi tái phân phối thương mại*.
|
| 305 |
+
|
| 306 |
+
🇬🇧 The underlying data belongs to the **Ministry of Agriculture and
|
| 307 |
+
Environment** and the **Vietnam Cartographic Publishing House**
|
| 308 |
+
(Nhà Xuất Bản Tài Nguyên - Môi Trường và Bản Đồ Việt Nam). This
|
| 309 |
+
redistribution is shared under **CC-BY-NC 4.0** — *please check the
|
| 310 |
+
source-website terms before commercial redistribution*.
|
| 311 |
+
|
| 312 |
+
| Thông tin xuất bản · Publication info | |
|
| 313 |
+
|---|---|
|
| 314 |
+
| ISBN | 978-632-622-303-3 |
|
| 315 |
+
| Publication ID | 1027-2026/CXBIPH/03-129/BĐ |
|
| 316 |
+
| Quyết định / Decision | 30/QĐ-NXBTNMT, 16 April 2026 |
|
| 317 |
+
| Source | <https://sapnhap.bando.com.vn/> · <https://bando.com.vn> |
|
| 318 |
+
|
| 319 |
+
Cơ sở pháp lý của cuộc sáp nhập · Authoritative legal sources:
|
| 320 |
+
|
| 321 |
+
* National Assembly Resolution **202/2025/QH15** (12 June 2025)
|
| 322 |
+
* Standing Committee resolutions of **16 June 2025** (×34)
|
| 323 |
+
* Government decrees published at <https://vanban.chinhphu.vn>
|
| 324 |
+
|
| 325 |
+
## Trích dẫn · Citation
|
| 326 |
+
|
| 327 |
+
```bibtex
|
| 328 |
+
@misc{sapnhap_2026,
|
| 329 |
+
title = {Sáp Nhập — Vietnam Administrative Merger Atlas (HF mirror)},
|
| 330 |
+
author = {TMQuan},
|
| 331 |
+
year = {2026},
|
| 332 |
+
howpublished = {\url{https://huggingface.co/datasets/tmquan/sapnhap-bando-vn}},
|
| 333 |
+
note = {Mirror of the post-merger administrative-units atlas published at \url{https://sapnhap.bando.com.vn/}.}
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
@misc{sapnhap_atlas_2026,
|
| 337 |
+
title = {Atlas Sáp Nhập Hành Chính Việt Nam},
|
| 338 |
+
author = {{Ministry of Agriculture and Environment of Vietnam} and {Vietnam Cartographic Publishing House}},
|
| 339 |
+
year = {2026},
|
| 340 |
+
publisher = {Nhà Xuất Bản Tài Nguyên - Môi Trường và Bản Đồ Việt Nam},
|
| 341 |
+
howpublished = {\url{https://sapnhap.bando.com.vn/}},
|
| 342 |
+
note = {ISBN 978-632-622-303-3, Publication ID 1027-2026/CXBIPH/03-129/BĐ. Quyết định số 30/QĐ-NXBTNMT, 16 April 2026. Implements National Assembly Resolution 202/2025/QH15 and the 16 June 2025 Standing Committee resolutions.}
|
| 343 |
+
}
|
| 344 |
+
```
|
_stats.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n_total": 6712,
|
| 3 |
+
"by_kind": {
|
| 4 |
+
"committee": 3357,
|
| 5 |
+
"commune": 3321,
|
| 6 |
+
"province": 34
|
| 7 |
+
},
|
| 8 |
+
"by_macro_region": {
|
| 9 |
+
"central_coast": {
|
| 10 |
+
"committee": 737,
|
| 11 |
+
"commune": 738,
|
| 12 |
+
"province": 8
|
| 13 |
+
},
|
| 14 |
+
"central_highlands": {
|
| 15 |
+
"committee": 380,
|
| 16 |
+
"commune": 361,
|
| 17 |
+
"province": 3
|
| 18 |
+
},
|
| 19 |
+
"mekong_delta": {
|
| 20 |
+
"committee": 537,
|
| 21 |
+
"commune": 495,
|
| 22 |
+
"province": 5
|
| 23 |
+
},
|
| 24 |
+
"northern_midlands": {
|
| 25 |
+
"committee": 842,
|
| 26 |
+
"commune": 841,
|
| 27 |
+
"province": 10
|
| 28 |
+
},
|
| 29 |
+
"red_river_delta": {
|
| 30 |
+
"committee": 502,
|
| 31 |
+
"commune": 527,
|
| 32 |
+
"province": 5
|
| 33 |
+
},
|
| 34 |
+
"southeast": {
|
| 35 |
+
"committee": 358,
|
| 36 |
+
"commune": 359,
|
| 37 |
+
"province": 3
|
| 38 |
+
},
|
| 39 |
+
"unknown": {
|
| 40 |
+
"committee": 1,
|
| 41 |
+
"commune": 0,
|
| 42 |
+
"province": 0
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"n_provinces": 34,
|
| 46 |
+
"n_communes": 3321,
|
| 47 |
+
"n_committees": 3357,
|
| 48 |
+
"n_reduced": 6712,
|
| 49 |
+
"n_geo_polygons": {
|
| 50 |
+
"provinces": 34,
|
| 51 |
+
"communes": 3321
|
| 52 |
+
},
|
| 53 |
+
"total_population": 113571926,
|
| 54 |
+
"total_area_km2": 331325.62,
|
| 55 |
+
"merger_fanout_max": 16
|
| 56 |
+
}
|
data/all.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4823f6008802e46070bc6d059e903a83e85c92fba56d8e34b33c94c283f3909d
|
| 3 |
+
size 833971
|
data/committees.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbfce972dfc4f71b9a49e15f6fc2f27c7a047f2f7644c91bc64c6ed664b3f2e8
|
| 3 |
+
size 268162
|
data/communes.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b66f129f32d4167dd4e831fd830978e34384f1bbaa7aaa421d7a13741c287d30
|
| 3 |
+
size 614092
|
data/provinces.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e90c31e6a71d007da0772705d9cb45bbaaabc9cf40d12c8904f963659a5b1a42
|
| 3 |
+
size 26182
|
docs/DATAANALYSIS.md
ADDED
|
@@ -0,0 +1,344 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DATAANALYSIS — what the curated data actually says
|
| 2 |
+
|
| 3 |
+
This document is the analytical companion to the curated parquet bundle
|
| 4 |
+
produced by `geography-vn curate`. It walks through the 14-figure pack
|
| 5 |
+
under [`docs/figures/analysis/`](docs/figures/analysis/) (rendered by
|
| 6 |
+
`scripts/analyze.py` and embedded inline in
|
| 7 |
+
[`DATAANALYSIS.ipynb`](DATAANALYSIS.ipynb)) and tells the story of
|
| 8 |
+
**Vietnam after Resolution 202/2025/QH15** through the data alone.
|
| 9 |
+
|
| 10 |
+
> **Source:** every number below comes from
|
| 11 |
+
> `data/sapnhap-bando-vn/extracted/extracted.parquet` (6,712 rows = 34
|
| 12 |
+
> provinces + 3,321 communes + 3,357 commune people's-committee
|
| 13 |
+
> headquarters). The parquet was produced by the five-stage NeMo Curator
|
| 14 |
+
> pipeline described in [`DATAPROCESSING.md`](DATAPROCESSING.md).
|
| 15 |
+
|
| 16 |
+
## TL;DR
|
| 17 |
+
|
| 18 |
+
| Stat | Value |
|
| 19 |
+
| ------------------------------------- | ----------------- |
|
| 20 |
+
| First-level units (post-merger) | **34** |
|
| 21 |
+
| Second-level units (post-merger) | **3,321** |
|
| 22 |
+
| People's-committee headquarters | **3,357** |
|
| 23 |
+
| Total Vietnam population (2024) | **113,571,926** |
|
| 24 |
+
| Total Vietnam land area (km²) | **331,325.62** |
|
| 25 |
+
| Largest province by population | TPHCM — **14,002,598** |
|
| 26 |
+
| Largest province by area | Lâm Đồng — **24,233 km²** |
|
| 27 |
+
| Densest province | Hà Nội — **2,621 / km²** |
|
| 28 |
+
| Most-merged commune | Phường Văn Miếu - Quốc Tử Giám — **16 predecessor wards** |
|
| 29 |
+
| Distinct authorising decrees | **37** |
|
| 30 |
+
| Provinces that kept their old borders | **11** out of 34 |
|
| 31 |
+
|
| 32 |
+
## 1 — Inventory ([fig 01](docs/figures/analysis/01_admin_kind_donut.png))
|
| 33 |
+
|
| 34 |
+
The atlas publishes three entity kinds, in roughly equal sub-counts:
|
| 35 |
+
|
| 36 |
+
| Kind | Count | What it is |
|
| 37 |
+
| ----------- | ------- | ------------------------------------------------------- |
|
| 38 |
+
| `province` | 34 | First-level admin units (28 provinces + 6 cities) |
|
| 39 |
+
| `commune` | 3,321 | Second-level units (phường / xã / đặc khu after the merger) |
|
| 40 |
+
| `committee` | 3,357 | Commune people's-committee headquarters (point markers) |
|
| 41 |
+
|
| 42 |
+
The committee count slightly exceeds the commune count (3,357 > 3,321)
|
| 43 |
+
because some communes have multiple registered committee buildings (the
|
| 44 |
+
seat plus a satellite office) and a handful of pre-merger committees
|
| 45 |
+
remain marked on the map even after their parent commune dissolved.
|
| 46 |
+
|
| 47 |
+
## 2 — Macro-region balance ([fig 02](docs/figures/analysis/02_macro_region_breakdown.png))
|
| 48 |
+
|
| 49 |
+
The 34 surviving provinces redistribute across the six GSO macro-regions
|
| 50 |
+
unevenly. The north (where the 2025 merger was the most aggressive) keeps
|
| 51 |
+
**10 + 5 = 15 provinces** under two macro-regions; the centre keeps
|
| 52 |
+
**8 + 3 = 11**; the south keeps **3 + 5 = 8**. Including the
|
| 53 |
+
people's-committee tier (which inherits its parent province's region):
|
| 54 |
+
|
| 55 |
+
| Macro-region (EN) | Provinces | Communes | Committees | Total |
|
| 56 |
+
| ------------------------------------------ | --------: | -------: | ---------: | ----: |
|
| 57 |
+
| Northern Midlands and Mountain Areas | **10** | 841 | 842 | 1,693 |
|
| 58 |
+
| Red River Delta | **5** | 527 | 502 | 1,034 |
|
| 59 |
+
| North Central and Central Coastal Areas | **8** | 738 | 737 | 1,483 |
|
| 60 |
+
| Central Highlands | **3** | 361 | 380 | 744 |
|
| 61 |
+
| Southeast | **3** | 359 | 358 | 720 |
|
| 62 |
+
| Mekong River Delta | **5** | 495 | 537 | 1,037 |
|
| 63 |
+
| (unknown — disputed-zone duplicates) | 0 | 0 | 1 | 1 |
|
| 64 |
+
|
| 65 |
+
Note that the **Northern Midlands** retains the highest *count* of
|
| 66 |
+
first-level units (10) despite being the region the merger consolidated
|
| 67 |
+
hardest — pre-merger it had 14 provinces. The **Southeast** ends up the
|
| 68 |
+
smallest by province count (3) because TPHCM swallowed both Bình Dương
|
| 69 |
+
and Bà Rịa-Vũng Tàu into a single mega-city.
|
| 70 |
+
|
| 71 |
+
## 3 — Province population ([fig 03](docs/figures/analysis/03_province_population.png))
|
| 72 |
+
|
| 73 |
+
The top-five most populous provinces, after the merger:
|
| 74 |
+
|
| 75 |
+
| Rank | Province | Population | Area (km²) | Density (/km²) | Predecessors |
|
| 76 |
+
| ---- | ----------------------- | -----------: | ---------: | -------------: | -----------: |
|
| 77 |
+
| 1 | Thành Phố Hồ Chí Minh | 14,002,598 | 6,772.59 | 2,067.5 | 3 |
|
| 78 |
+
| 2 | Thủ Đô Hà Nội | 8,807,523 | 3,359.84 | 2,621.4 | 1 |
|
| 79 |
+
| 3 | Tỉnh An Giang | 4,952,238 | 9,888.91 | 500.8 | 2 |
|
| 80 |
+
| 4 | Thành Phố Hải Phòng | 4,664,124 | 3,194.72 | 1,460.0 | 2 |
|
| 81 |
+
| 5 | Thành phố Đồng Nai | 4,491,408 | 12,737.18 | 352.6 | 4 |
|
| 82 |
+
|
| 83 |
+
TPHCM's merger absorbed **Bình Dương** (industrial belt) and **Bà Rịa
|
| 84 |
+
- Vũng Tàu** (the southern coast & Côn Đảo) into one super-city, doubling
|
| 85 |
+
its population from ~7 M to **14 M** — now larger than New York's metro.
|
| 86 |
+
|
| 87 |
+
Đồng Nai is the only province in the country that absorbed **four**
|
| 88 |
+
predecessor units (the original Đồng Nai + Bình Phước + parts of two
|
| 89 |
+
neighbours), making it the largest-area populated unit in the south.
|
| 90 |
+
|
| 91 |
+
## 4 — Province area ([fig 04](docs/figures/analysis/04_province_area.png))
|
| 92 |
+
|
| 93 |
+
The top-five largest provinces by km², all in the central highlands or
|
| 94 |
+
upper-central coast:
|
| 95 |
+
|
| 96 |
+
| Rank | Province | Area (km²) | Population | Density (/km²) | Predecessors |
|
| 97 |
+
| ---- | ----------------- | ----------: | ---------: | -------------: | -----------: |
|
| 98 |
+
| 1 | Tỉnh Lâm Đồng | 24,233.07 | 3,872,999 | 159.8 | 3 |
|
| 99 |
+
| 2 | Tỉnh Gia Lai | 21,576.53 | 3,583,693 | 166.1 | 2 |
|
| 100 |
+
| 3 | Tỉnh Đắk Lắk | 18,096.40 | 3,346,853 | 184.9 | 2 |
|
| 101 |
+
| 4 | Tỉnh Nghệ An | 16,486.50 | 3,831,694 | 232.4 | 1 |
|
| 102 |
+
| 5 | Tỉnh Quảng Ngãi | 14,832.55 | 2,161,755 | 145.7 | 2 |
|
| 103 |
+
|
| 104 |
+
Lâm Đồng is the merger's largest single creation: the old Lâm Đồng +
|
| 105 |
+
**Bình Thuận** (south-central coast) + **Đắk Nông** (Central Highlands)
|
| 106 |
+
fused into a 24,233 km² province that now stretches from the central
|
| 107 |
+
plateau to the South China Sea coast.
|
| 108 |
+
|
| 109 |
+
## 5 — Province density ([fig 05](docs/figures/analysis/05_province_density.png))
|
| 110 |
+
|
| 111 |
+
| Rank | Province | Density (/km²) | Population | Area (km²) |
|
| 112 |
+
| ---- | ----------------------- | -------------: | ---------: | ---------: |
|
| 113 |
+
| 1 | Thủ Đô Hà Nội | 2,621.4 | 8,807,523 | 3,359.84 |
|
| 114 |
+
| 2 | Thành Phố Hồ Chí Minh | 2,067.5 | 14,002,598 | 6,772.59 |
|
| 115 |
+
| 3 | Thành Phố Hải Phòng | 1,460.0 | 4,664,124 | 3,194.72 |
|
| 116 |
+
| 4 | Tỉnh Hưng Yên | 1,418.8 | 3,567,943 | 2,514.81 |
|
| 117 |
+
| 5 | Tỉnh Ninh Bình | 1,119.1 | 4,412,264 | 3,942.62 |
|
| 118 |
+
|
| 119 |
+
Hà Nội remains the densest province even though it kept its pre-merger
|
| 120 |
+
borders unchanged (its `n_predecessors == 1`). Hưng Yên, **post-merger**
|
| 121 |
+
absorbing Thái Bình, jumps into the top 4 — the merged Red River Delta
|
| 122 |
+
provinces concentrate density there.
|
| 123 |
+
|
| 124 |
+
## 6 — Communes per province ([fig 06](docs/figures/analysis/06_communes_per_province.png))
|
| 125 |
+
|
| 126 |
+
The lower-tier consolidation is more uneven:
|
| 127 |
+
|
| 128 |
+
* **Min**: 38 communes (Tỉnh Lai Châu — sparsely populated mountains)
|
| 129 |
+
* **Max**: 168 communes (Thành phố Hồ Chí Minh — mega-city)
|
| 130 |
+
* **Median**: 99 communes per province
|
| 131 |
+
* **Mean**: 97.7 communes per province
|
| 132 |
+
|
| 133 |
+
Bottom five (sparsest):
|
| 134 |
+
|
| 135 |
+
| Province | Communes |
|
| 136 |
+
| ------------------ | -------: |
|
| 137 |
+
| Tỉnh Lai Châu | 38 |
|
| 138 |
+
| Thành phố Huế | 40 |
|
| 139 |
+
| Tỉnh Điện Biên | 45 |
|
| 140 |
+
| Tỉnh Quảng Ninh | 54 |
|
| 141 |
+
| Tỉnh Cao Bằng | 56 |
|
| 142 |
+
|
| 143 |
+
Top five (densest):
|
| 144 |
+
|
| 145 |
+
| Province | Communes |
|
| 146 |
+
| -------------------------- | -------: |
|
| 147 |
+
| Thành phố Hồ Chí Minh | 168 |
|
| 148 |
+
| Tỉnh Thanh Hóa | 166 |
|
| 149 |
+
| Tỉnh Phú Thọ | 148 |
|
| 150 |
+
| Tỉnh Gia Lai | 135 |
|
| 151 |
+
| Tỉnh Nghệ An | 130 |
|
| 152 |
+
|
| 153 |
+
## 7 — Province merger fanout ([fig 07](docs/figures/analysis/07_merger_fanout_provinces.png))
|
| 154 |
+
|
| 155 |
+
How many predecessor provinces fed each surviving first-level unit:
|
| 156 |
+
|
| 157 |
+
| n_predecessors | Provinces | Names |
|
| 158 |
+
| -------------- | --------: | -------------------------------------------------------------------------------------------------------- |
|
| 159 |
+
| **1** | **11** | Hà Nội, Huế, Cao Bằng, Điện Biên, Hà Tĩnh, Lai Châu, Lạng Sơn, Nghệ An, Quảng Ninh, Sơn La, Thanh Hóa |
|
| 160 |
+
| **2** | **16** | Đà Nẵng, Hải Phòng, An Giang, Bắc Ninh, Cà Mau, Đắk Lắk, Đồng Tháp, Gia Lai, Hưng Yên, Khánh Hòa, … |
|
| 161 |
+
| **3** | **6** | Cần Thơ, Hồ Chí Minh, Lâm Đồng, Ninh Bình, Phú Thọ, Vĩnh Long |
|
| 162 |
+
| **4** | **1** | Đồng Nai |
|
| 163 |
+
|
| 164 |
+
Eleven provinces kept their old borders — they were already large enough
|
| 165 |
+
or geographically isolated enough that the merger left them alone. The
|
| 166 |
+
modal merger absorbed exactly one neighbour. Đồng Nai is the singular
|
| 167 |
+
four-way merger.
|
| 168 |
+
|
| 169 |
+
## 8 — Commune merger fanout ([fig 08](docs/figures/analysis/08_merger_fanout_communes.png))
|
| 170 |
+
|
| 171 |
+
The lower tier was consolidated much more aggressively. Of the 3,321
|
| 172 |
+
surviving communes:
|
| 173 |
+
|
| 174 |
+
| n_predecessors | Communes | % |
|
| 175 |
+
| -------------- | -------: | ----: |
|
| 176 |
+
| **1** | 139 | 4.2% |
|
| 177 |
+
| **2** | 758 | 22.8% |
|
| 178 |
+
| **3** | 1,498 | 45.1% |
|
| 179 |
+
| **4** | 559 | 16.8% |
|
| 180 |
+
| **5** | 179 | 5.4% |
|
| 181 |
+
| **6** | 78 | 2.3% |
|
| 182 |
+
| **7+** | 110 | 3.4% |
|
| 183 |
+
| **max** | 16 | |
|
| 184 |
+
|
| 185 |
+
The modal commune absorbed **3 predecessor wards/xã**. The mean fanout
|
| 186 |
+
is 3.4 (compared to ~1.6 for the first-level tier).
|
| 187 |
+
|
| 188 |
+
The **most-merged commune is Phường Văn Miếu - Quốc Tử Giám** in Hà
|
| 189 |
+
Nội, which fused **16 predecessor wards** into a single 4-character
|
| 190 |
+
neighbourhood. Hà Nội dominates the high-fanout extreme — 8 of the top
|
| 191 |
+
15 communes by fanout are in Hà Nội, reflecting the post-merger desire
|
| 192 |
+
to flatten the dense old ward grid into larger, more administratively
|
| 193 |
+
manageable units. The other notable mega-mergers are coastal special
|
| 194 |
+
zones: **Đặc khu Cát Hải** (Hải Phòng, 12 preds), **Đặc khu Vân Đồn**
|
| 195 |
+
(Quảng Ninh, 12 preds).
|
| 196 |
+
|
| 197 |
+
## 9 — Commune size distribution ([fig 09](docs/figures/analysis/09_commune_size_distribution.png))
|
| 198 |
+
|
| 199 |
+
A log-log scatter of commune area vs population reveals three regimes:
|
| 200 |
+
|
| 201 |
+
* **Special administrative zones (Đặc khu)** — sit in the bottom-left:
|
| 202 |
+
tiny populations on tiny islands. Hoàng Sa (the Paracels — 0
|
| 203 |
+
registered population, 350 km²), Trường Sa (Spratly — 153 people,
|
| 204 |
+
496 km²), Cồn Cỏ (139 people, 2.3 km²), Bạch Long Vĩ (686 people,
|
| 205 |
+
3.07 km²). All have ambiguous-to-disputed sovereignty status and
|
| 206 |
+
serve mainly as markers of national territory.
|
| 207 |
+
* **Highland xã** — the upper-left band: tens of thousands of
|
| 208 |
+
inhabitants spread across 200-1100 km² of mountain terrain. Buôn Đôn
|
| 209 |
+
(Đắk Lắk, 1,114 km², 6.6K people) is the largest by area in the entire
|
| 210 |
+
set. The Trường Sơn cordillera communes in Quảng Trị (Thượng Trạch,
|
| 211 |
+
Trường Sơn, Kim Ngân) all exceed 800 km² each.
|
| 212 |
+
* **Urban phường** — the lower-right cluster: 50-130K people on a few
|
| 213 |
+
km² of city. Phường Hải Châu (Đà Nẵng, 7.58 km², 131K people) is the
|
| 214 |
+
densest by far.
|
| 215 |
+
|
| 216 |
+
## 10 — Decree corpus ([fig 10](docs/figures/analysis/10_decree_map.png))
|
| 217 |
+
|
| 218 |
+
The merger is authorised by **37 distinct decrees**: 1 from the National
|
| 219 |
+
Assembly itself (`Nghị quyết số 202/2025/QH15`) and 34 follow-up
|
| 220 |
+
Standing Committee resolutions (`NQ-UBTVQH15`) of 16 June 2025 that flesh
|
| 221 |
+
out the lower-tier merger commune-by-commune. The top decrees by number
|
| 222 |
+
of units cited:
|
| 223 |
+
|
| 224 |
+
| Decree | Units cited |
|
| 225 |
+
| --------------------------------- | ----------: |
|
| 226 |
+
| `Nghị quyết số 1685/NQ-UBTVQH15` | 168 |
|
| 227 |
+
| `Nghị quyết số 1686/NQ-UBTVQH15` | 166 |
|
| 228 |
+
| `Nghị quyết số 1676/NQ-UBTVQH15` | 148 |
|
| 229 |
+
| `Nghị quyết số 1664/NQ-UBTVQH15` | 135 |
|
| 230 |
+
| `Nghị quyết số 1678/NQ-UBTVQH15` | 130 |
|
| 231 |
+
| `Nghị quyết số 1674/NQ-UBTVQH15` | 129 |
|
| 232 |
+
| `Nghị quyết số 1656/NQ-UBTVQH15` | 126 |
|
| 233 |
+
| … (30 more) | … |
|
| 234 |
+
|
| 235 |
+
Each `NQ-1656…1690` decree corresponds to one of the 34 surviving
|
| 236 |
+
provinces. The top decree (NQ-1685) authorises all 168 wards of TPHCM;
|
| 237 |
+
NQ-1686 covers the 166 communes of Thanh Hóa; etc. Every commune row in
|
| 238 |
+
the parquet has a `decree_url` column pointing to the official text at
|
| 239 |
+
`vanban.chinhphu.vn`.
|
| 240 |
+
|
| 241 |
+
## 11 — Cartographic pack with dual-archipelago declaration
|
| 242 |
+
|
| 243 |
+
Geographic visualisations live in their own folder under
|
| 244 |
+
[`docs/figures/maps/`](docs/figures/maps/) — rendered standalone by
|
| 245 |
+
`python -m scripts.render_maps` because kaleido + Mapbox-GL crashes
|
| 246 |
+
inside a Jupyter kernel. Five figures total, each with the **actual
|
| 247 |
+
scraped province polygons** (not bubbles) and the standard
|
| 248 |
+
Vietnamese-atlas declaration of both offshore archipelagos:
|
| 249 |
+
* **Quần đảo Hoàng Sa** (Paracel Islands) — dashed bounding outline
|
| 250 |
+
~15.45°N–17.20°N × 110.85°E–113.10°E with markers for Phú Lâm, Tri Tôn,
|
| 251 |
+
Linh Côn, Quang Hòa. Administered by **Thành phố Đà Nẵng** under the
|
| 252 |
+
post-2025 geography (Đặc khu Hoàng Sa).
|
| 253 |
+
* **Quần đảo Trường Sa** (Spratly Islands) — dashed bounding outline
|
| 254 |
+
~7.40°N–11.85°N × 111.80°E–115.30°E with markers for Trường Sa Lớn,
|
| 255 |
+
Song Tử Tây, Sinh Tồn, Phan Vinh, An Bang, Nam Yết, Cô Lin, Sơn Ca.
|
| 256 |
+
Administered by **Tỉnh Khánh Hòa** (Đặc khu Trường Sa).
|
| 257 |
+
|
| 258 |
+
Each map additionally carries: ★ Thủ đô Hà Nội (capital), 7 secondary
|
| 259 |
+
cities (TP. Hồ Chí Minh / Đà Nẵng / Hải Phòng / Huế / Vinh / Cần Thơ /
|
| 260 |
+
Nha Trang) with leader-line labels into open sea, and 5 island callouts
|
| 261 |
+
(Đảo Phú Quốc / Cát Bà / Bạch Long Vĩ / Lý Sơn + Côn Đảo).
|
| 262 |
+
|
| 263 |
+
| File | Visualisation |
|
| 264 |
+
| ----------------------------------------------- | ------------------------------------------------------------ |
|
| 265 |
+
| `maps/01_provinces_population.png` | population choropleth (sequential NVIDIA-green) |
|
| 266 |
+
| `maps/02_provinces_density.png` | people / km² |
|
| 267 |
+
| `maps/03_provinces_area.png` | land area (km²) |
|
| 268 |
+
| `maps/04_communes_scatter.png` | 3,321 commune centroids by macro-region |
|
| 269 |
+
| `maps/05_committees_scatter.png` | 3,357 commune people's-committee headquarters by lat/lon |
|
| 270 |
+
|
| 271 |
+
The cartographic pack uses NVIDIA Sans typography on a square 1100 × 1100
|
| 272 |
+
canvas; the analytical pack above uses the LaTeX-serif `nvidia_latex`
|
| 273 |
+
template at 1200 × 900. Maps follow brand convention, charts follow
|
| 274 |
+
academic-paper convention.
|
| 275 |
+
|
| 276 |
+
## 12 — Curator UMAP ([fig 11](docs/figures/analysis/11_curator_umap_kind.png), [fig 12](docs/figures/analysis/12_curator_umap_region.png))
|
| 277 |
+
|
| 278 |
+
A 2-D UMAP projection of the 6,712-point sentence-transformers
|
| 279 |
+
embedding of every entity's `embed_text` descriptor. Three observations:
|
| 280 |
+
|
| 281 |
+
1. **Kind separation is partial.** Provinces and committees occupy
|
| 282 |
+
compact, well-separated tail regions of the map (provinces
|
| 283 |
+
because their descriptors include rich predecessor-province prose
|
| 284 |
+
that other entities do not; committees because every committee
|
| 285 |
+
description follows the standard "Ủy ban nhân dân …" template).
|
| 286 |
+
Communes fill the middle and overlap with both extremes.
|
| 287 |
+
2. **Macro-region structure emerges.** Even though the embed text
|
| 288 |
+
does not explicitly mention macro-region, the UMAP × macro-region
|
| 289 |
+
colouring shows clean lobes for the Mekong Delta, the Northern
|
| 290 |
+
Midlands, and the Central Highlands — the model picks up on
|
| 291 |
+
regional naming conventions (`Đặc khu Phú Quốc` clusters with the
|
| 292 |
+
southern coast, `Xã Mường Khương` with the Northwest, etc.).
|
| 293 |
+
3. **HDBSCAN finds ~30-50 dense subclusters** within the broader
|
| 294 |
+
regional structure. Most are sub-province-level: a single
|
| 295 |
+
province's communes cluster together because their descriptors
|
| 296 |
+
share a common `parent_ten` tag, the same parent decree, and
|
| 297 |
+
similar predecessor-name patterns ("Phường … và Phường … sau khi
|
| 298 |
+
sắp xếp"). The `cluster` column in `reduced.parquet` carries the
|
| 299 |
+
integer label per row, with `-1` reserved for low-density noise
|
| 300 |
+
points.
|
| 301 |
+
|
| 302 |
+
## Caveats & known limits
|
| 303 |
+
|
| 304 |
+
* **`Đặc khu Hoàng Sa` has zero registered population.** The Paracel
|
| 305 |
+
Islands are administered by the People's Republic of China and have
|
| 306 |
+
not been physically Vietnamese-controlled since 1974. The Vietnamese
|
| 307 |
+
atlas marks them as a special administrative zone of Đà Nẵng with a
|
| 308 |
+
populations of zero — a sovereignty assertion, not a usable
|
| 309 |
+
demographic figure.
|
| 310 |
+
* **Population numbers are 2024 mid-year estimates** as published with
|
| 311 |
+
the merger decrees (rounded thousands at the commune level). They
|
| 312 |
+
predate the merger by 6–12 months and may not yet reflect intra-merger
|
| 313 |
+
population migration.
|
| 314 |
+
* **Two parent-province strings come back inconsistent:** "Thủ đô Hà Nội"
|
| 315 |
+
vs "Thủ Đô Hà Nội" (different `Đ`/`đ` capitalisation depending on the
|
| 316 |
+
endpoint). The `parent_ma` column normalises this — join on `parent_ma`
|
| 317 |
+
not on `parent_ten` for analysis.
|
| 318 |
+
* **3 communes carry the name "Xã Hoàng Hoa Thám"** (each in a different
|
| 319 |
+
province) and 1 carries "Đặc khu Phú Quốc". Use `id` (== feature id)
|
| 320 |
+
not `ten` as the primary key.
|
| 321 |
+
* **The committee macro-region** is derived from the GeoJSON
|
| 322 |
+
`properties.a04_tentinh` field, which can be missing for ~20 of the
|
| 323 |
+
3,357 committees (mostly defunct pre-merger seats). Those rows show
|
| 324 |
+
`macro_region == "unknown"` in the parquet.
|
| 325 |
+
|
| 326 |
+
## How to reproduce
|
| 327 |
+
|
| 328 |
+
```bash
|
| 329 |
+
# 1) Download + curate (~35 min on first run, then cached)
|
| 330 |
+
geography-vn curate
|
| 331 |
+
|
| 332 |
+
# 2) Render the figure pack (~2 min)
|
| 333 |
+
python -m scripts.analyze
|
| 334 |
+
|
| 335 |
+
# 3) Re-execute the notebook (optional)
|
| 336 |
+
jupyter nbconvert --to notebook --execute --inplace DATAANALYSIS.ipynb
|
| 337 |
+
|
| 338 |
+
# 4) Stage and push the HF dataset
|
| 339 |
+
python -m scripts.upload_to_hf --no-upload
|
| 340 |
+
python -m scripts.upload_to_hf --repo <your-org>/sapnhap-bando-vn
|
| 341 |
+
```
|
| 342 |
+
|
| 343 |
+
See [`DATAPROCESSING.md`](DATAPROCESSING.md) for the curator-pipeline
|
| 344 |
+
internals.
|
docs/DATAPROCESSING.md
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DATAPROCESSING — five-stage curator pipeline
|
| 2 |
+
|
| 3 |
+
This document walks through the five-stage NeMo-Curator-compatible pipeline
|
| 4 |
+
that turns the raw web responses from <https://sapnhap.bando.com.vn/> into
|
| 5 |
+
the typed, joinable, embedding-augmented parquet bundle that ships to
|
| 6 |
+
HuggingFace and feeds [`DATAANALYSIS.md`](DATAANALYSIS.md).
|
| 7 |
+
|
| 8 |
+
The five stages mirror the same layout used by ViLA's
|
| 9 |
+
[`packages/datasites/anle/`](https://github.com/tmquan/ViLA/tree/main/packages/datasites/anle)
|
| 10 |
+
and `personas-vn`'s
|
| 11 |
+
[`packages/curator/`](https://github.com/tmquan/personas-vn/tree/main/packages/curator):
|
| 12 |
+
|
| 13 |
+
```
|
| 14 |
+
download → parse → extract → embed → reduce
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
Each stage reads from the previous stage's output directory and writes to its
|
| 18 |
+
own. A failure inside one stage never destroys earlier work, and re-running a
|
| 19 |
+
single stage in isolation (`--only embed`, `--skip download`, …) is the
|
| 20 |
+
intended development loop.
|
| 21 |
+
|
| 22 |
+
```
|
| 23 |
+
data/sapnhap-bando-vn/
|
| 24 |
+
├── raw/ ← stage 1
|
| 25 |
+
│ ├── admin_units.json (one POST: 3,355 listings)
|
| 26 |
+
│ ├── committees.json (one POST: 3,357 committee markers)
|
| 27 |
+
│ ├── details/<malk>.json (~3,355 POSTs to p.co_dvhc_id)
|
| 28 |
+
│ ├── geom/<id>.geojson (~6,712 POSTs to pread_json)
|
| 29 |
+
│ └── _cache/ (per-URL HTTP cache; re-runs are free)
|
| 30 |
+
├── parsed/ ← stage 2: parsed.jsonl + parsed.parquet
|
| 31 |
+
├── extracted/ ← stage 3: extracted.jsonl + extracted.parquet
|
| 32 |
+
├── embedded/ ← stage 4: embedded.parquet (n × 384-d vectors)
|
| 33 |
+
└── reduced/ ← stage 5: reduced.parquet (UMAP 2-D + cluster id)
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Source surface
|
| 37 |
+
|
| 38 |
+
The site at `sapnhap.bando.com.vn/` is a thin PHP front-end
|
| 39 |
+
(`D:\map34tinh\s.index.php`) over a QGIS Server WMS/WFS deployment. It
|
| 40 |
+
exposes four POST endpoints we care about — every one returns JSON, even
|
| 41 |
+
when the server lies in its `Content-Type` header:
|
| 42 |
+
|
| 43 |
+
| Endpoint | Form data | Returns |
|
| 44 |
+
| ----------------------- | ------------------------------- | ---------------------------------------------------- |
|
| 45 |
+
| `POST /p.co_dvhc` | `ma=0` | List of every admin unit (34 prov + 3,321 communes) |
|
| 46 |
+
| `POST /p.co_uyban` | `ma=0` | List of 3,357 commune people's-committee headquarters |
|
| 47 |
+
| `POST /p.co_dvhc_id` | `malk=<feature_id>` | Full attribute row (area, population, decree, …) |
|
| 48 |
+
| `POST /pread_json` | `id=<feature_id>` | GeoJSON FeatureCollection (Polygon / MultiPolygon / Point) |
|
| 49 |
+
|
| 50 |
+
Feature-id conventions:
|
| 51 |
+
|
| 52 |
+
* `diaphanhanhchinhcaptinh_sn.<n>` — province polygons (only 34 of the 132
|
| 53 |
+
pre-merger ids survive).
|
| 54 |
+
* `diaphanhanhchinhcapxa_2025.<n>` — commune polygons; 3,321 alive, the
|
| 55 |
+
rest dissolved into neighbours.
|
| 56 |
+
* `uybannhandancapxa_2025.<n>` — point markers for every commune
|
| 57 |
+
people's committee (n = 1 … 3,357).
|
| 58 |
+
|
| 59 |
+
The PHP front-end occasionally injects an HTML warning preamble before the
|
| 60 |
+
JSON body when QGIS Server is mid-restart — `packages.common.http` peels
|
| 61 |
+
that off transparently.
|
| 62 |
+
|
| 63 |
+
## Stage 1 — download
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
DownloadStage(config.download, raw_dir).run()
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
* **Two listing POSTs** capture the complete inventory in one shot each
|
| 70 |
+
(`/p.co_dvhc` and `/p.co_uyban`).
|
| 71 |
+
* **Per-unit detail walk** (~3,355 POSTs to `/p.co_dvhc_id`) pulls the rich
|
| 72 |
+
attribute row for every admin unit: area in km², population, capital,
|
| 73 |
+
predecessors prose, decree of authority, link to the official decree at
|
| 74 |
+
`vanban.chinhphu.vn`.
|
| 75 |
+
* **Per-feature geometry walk** (~6,712 POSTs to `/pread_json`) pulls the
|
| 76 |
+
polygon for every admin unit and the point marker for every committee.
|
| 77 |
+
* Every URL is cached on disk under `raw/_cache/`; re-runs hit the cache and
|
| 78 |
+
finish in seconds.
|
| 79 |
+
* `delay_between_requests_s: 0.10` keeps the crawl polite — ~10 req/s, no
|
| 80 |
+
hint of rate limiting from the server.
|
| 81 |
+
* Wall time on first run: ~12 minutes for the listings + details, plus
|
| 82 |
+
~22 minutes for the geometries; ~35 minutes end-to-end on a home
|
| 83 |
+
broadband line.
|
| 84 |
+
|
| 85 |
+
The full crawl materialises **roughly 6,700 small JSON / GeoJSON files**
|
| 86 |
+
totaling ~120 MB.
|
| 87 |
+
|
| 88 |
+
## Stage 2 — parse
|
| 89 |
+
|
| 90 |
+
```python
|
| 91 |
+
ParseStage(config.parse, raw_dir, parsed_dir).run()
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Three jobs:
|
| 95 |
+
|
| 96 |
+
1. **Normalise Vietnamese-formatted numbers.** The `p.co_dvhc_id` endpoint
|
| 97 |
+
uses Vietnamese locale (`"6.360,83"` = 6,360.83 km²); the GeoJSON
|
| 98 |
+
`properties` block uses English (`"575.29"` = 575.29 km²,
|
| 99 |
+
`"157629"` = 157,629 people). `parse_vi_decimal` and `parse_vi_int` in
|
| 100 |
+
`packages/scraper/sapnhap.py` cover both idioms.
|
| 101 |
+
2. **Summarise GeoJSON.** Each FeatureCollection collapses to a single row
|
| 102 |
+
with `centroid_lon`, `centroid_lat`, `bbox`, `geom_type`, `n_vertices`,
|
| 103 |
+
and (when `parse.flatten_geojson=true`) a shapely-emitted WKT string.
|
| 104 |
+
We use shapely's true centroid for polygons; for the rare environments
|
| 105 |
+
without shapely, a ring-walk arithmetic-mean centroid is good enough for
|
| 106 |
+
plotting.
|
| 107 |
+
3. **Stamp parent-province for every commune & committee.** The
|
| 108 |
+
`tentinh` attribute on `p.co_dvhc_id` and the `a04_tentinh` attribute on
|
| 109 |
+
the GeoJSON committee features carry the parent-province name; we
|
| 110 |
+
resolve it against the 34-row province list to attach a stable
|
| 111 |
+
`parent_ma` (NSO 2-digit province code).
|
| 112 |
+
|
| 113 |
+
Output is a single canonical row per entity (province, commune, or
|
| 114 |
+
committee), written as both `parsed.jsonl` and `parsed.parquet`. Schema:
|
| 115 |
+
|
| 116 |
+
| column | type | notes |
|
| 117 |
+
| --------------- | -------- | ------------------------------------------------------------- |
|
| 118 |
+
| `id` | str | feature id (`==` malk) |
|
| 119 |
+
| `kind` | str | `province` / `commune` / `committee` |
|
| 120 |
+
| `ma` | str | NSO 2-digit province code or 5-char commune code |
|
| 121 |
+
| `ten` | str | canonical Vietnamese name |
|
| 122 |
+
| `type` | str | `Tỉnh` / `Thành Phố` / `Phường` / `Xã` / `Đặc khu` / … |
|
| 123 |
+
| `ten_short` | str | `ten` with the type prefix stripped |
|
| 124 |
+
| `area_km2` | float | parsed via `parse_vi_decimal` |
|
| 125 |
+
| `population` | int | parsed via `parse_vi_int` |
|
| 126 |
+
| `density` | float | `population / area_km2` |
|
| 127 |
+
| `capital` | str? | `trungtamhc` (administrative-centre address) |
|
| 128 |
+
| `address` | str? | |
|
| 129 |
+
| `phone` | str? | |
|
| 130 |
+
| `decree` | str? | `cancu` (e.g. `Nghị quyết số 202/2025/QH15`) |
|
| 131 |
+
| `decree_url` | str? | usually a `vanban.chinhphu.vn` permalink |
|
| 132 |
+
| `predecessors` | str? | raw `truocsapnhap` prose |
|
| 133 |
+
| `parent_ma` | str? | NSO-code of the parent province (for communes & committees) |
|
| 134 |
+
| `parent_ten` | str? | |
|
| 135 |
+
| `centroid_lon/lat` | float? | from the geometry summary |
|
| 136 |
+
| `bbox` | list? | `[lon_min, lat_min, lon_max, lat_max]` |
|
| 137 |
+
| `geom_type` | str? | `Polygon` / `MultiPolygon` / `Point` |
|
| 138 |
+
| `wkt` | str? | shapely WKT (only when `flatten_geojson=true`) |
|
| 139 |
+
|
| 140 |
+
## Stage 3 — extract
|
| 141 |
+
|
| 142 |
+
```python
|
| 143 |
+
ExtractStage(config.extract, parsed_dir, extracted_dir).run()
|
| 144 |
+
```
|
| 145 |
+
|
| 146 |
+
Adds the analytical columns the downstream notebook + the visualizer need:
|
| 147 |
+
|
| 148 |
+
* **`macro_region`** — every entity is mapped to one of the six GSO
|
| 149 |
+
macro-regions (`northern_midlands`, `red_river_delta`, `central_coast`,
|
| 150 |
+
`central_highlands`, `southeast`, `mekong_delta`). The mapping table
|
| 151 |
+
lives in `packages/curator/regions.py` and is hand-curated against the
|
| 152 |
+
post-merger 34-province list.
|
| 153 |
+
* **`predecessors_list`** — explodes the `truocsapnhap` Vietnamese prose
|
| 154 |
+
into a deduplicated list of predecessor names. Handles separators
|
| 155 |
+
(`,`, `và`, `cùng`, `;`), strips mereological qualifiers ("phần còn lại
|
| 156 |
+
của", "một phần"), and trims trailing "sau khi sắp xếp" clauses.
|
| 157 |
+
* **`n_predecessors`** — `len(predecessors_list)`.
|
| 158 |
+
* **`keywords`** — top-N TF-IDF unigrams + bigrams over the merger-lineage
|
| 159 |
+
prose; uses a Vietnamese-friendly token pattern
|
| 160 |
+
(`r"(?u)\b[\wÀ-ỹ]{3,}\b"`) so diacritics survive tokenisation.
|
| 161 |
+
* **`embed_text`** — single canonical Vietnamese descriptor (name + parent
|
| 162 |
+
+ type + predecessors + capital + decree) that the embedding stage
|
| 163 |
+
consumes.
|
| 164 |
+
|
| 165 |
+
Output: `extracted.jsonl` + `extracted.parquet`.
|
| 166 |
+
|
| 167 |
+
## Stage 4 — embed
|
| 168 |
+
|
| 169 |
+
```python
|
| 170 |
+
EmbedStage(config.embed, extracted_dir, embedded_dir).run()
|
| 171 |
+
```
|
| 172 |
+
|
| 173 |
+
Encodes every record's `embed_text` field with
|
| 174 |
+
[`sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2`](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2)
|
| 175 |
+
on CPU (384-d, normalised, `batch_size=64`). The full corpus of ~6,700
|
| 176 |
+
short Vietnamese descriptors finishes in ~3 minutes on an M-series Mac.
|
| 177 |
+
|
| 178 |
+
For NIM-hosted embeddings (e.g. `nvidia/llama-3.2-nv-embedqa-1b-v2`)
|
| 179 |
+
the same backend abstraction used by `personas-vn` would slot in here —
|
| 180 |
+
set `embed.backend: nim` and a `PERSONAS_VN_LLM_API_KEY` env var.
|
| 181 |
+
|
| 182 |
+
Output: `embedded.parquet` with the meta columns plus a `vector`
|
| 183 |
+
column (list[float]).
|
| 184 |
+
|
| 185 |
+
## Stage 5 — reduce
|
| 186 |
+
|
| 187 |
+
```python
|
| 188 |
+
ReduceStage(config.reduce, embedded_dir, reduced_dir).run()
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
* **UMAP** projection to 2-D with cosine metric (15 neighbours,
|
| 192 |
+
`min_dist=0.1`, `random_state=20260508`).
|
| 193 |
+
* **Density-based HDBSCAN** clustering (`min_cluster_size=⌊n/80⌋`),
|
| 194 |
+
emitting an integer `cluster` column with `-1` reserved for low-density
|
| 195 |
+
noise points.
|
| 196 |
+
|
| 197 |
+
Output: `reduced.parquet` — every meta column from the embed stage plus
|
| 198 |
+
`x`, `y`, and (when `reduce.cluster=true`) `cluster`. This is the parquet
|
| 199 |
+
that feeds the UMAP plots in [`DATAANALYSIS.ipynb`](DATAANALYSIS.ipynb)
|
| 200 |
+
and the curator-tab in any future Gradio visualizer.
|
| 201 |
+
|
| 202 |
+
## NeMo Curator backend
|
| 203 |
+
|
| 204 |
+
Pass `--backend nemo_curator` to `geography-vn curate` and the same five
|
| 205 |
+
stage objects are wrapped as `nemo_curator.core.stage.ProcessingStage`
|
| 206 |
+
sub-classes and handed to a real `nemo_curator.core.pipeline.Pipeline`
|
| 207 |
+
running through `nemo_curator.backends.experimental.in_process.InProcessExecutor`.
|
| 208 |
+
The wire-shape on disk is identical, so the rest of the pipeline (HF
|
| 209 |
+
upload, analysis notebook) does not care which executor ran. To go
|
| 210 |
+
distributed, swap `InProcessExecutor` for
|
| 211 |
+
`XennaExecutor` / `RayDataExecutor` — no code changes needed to the
|
| 212 |
+
stages themselves.
|
| 213 |
+
|
| 214 |
+
## Re-running individual stages
|
| 215 |
+
|
| 216 |
+
```bash
|
| 217 |
+
# Re-run only the embed + reduce stages (cheap when the corpus stayed put
|
| 218 |
+
# but the model changed):
|
| 219 |
+
geography-vn curate --only embed reduce
|
| 220 |
+
|
| 221 |
+
# Re-run everything except the slow geometry crawl:
|
| 222 |
+
geography-vn curate --skip download # cached anyway, but explicit is faster
|
| 223 |
+
```
|
| 224 |
+
|
| 225 |
+
The on-disk per-URL cache (`raw/_cache/`) means that even
|
| 226 |
+
`--only download` re-runs are near-instantaneous after the first crawl —
|
| 227 |
+
only newly-published feature ids hit the network.
|
figures/analysis/01_admin_kind_donut.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="4ba4f2bd-7579-48cb-90d7-40dc9e9b911d" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("4ba4f2bd-7579-48cb-90d7-40dc9e9b911d")) { Plotly.newPlot( "4ba4f2bd-7579-48cb-90d7-40dc9e9b911d", [{"customdata":[["committee"],["commune"],["province"]],"domain":{"x":[0.0,1.0],"y":[0.0,1.0]},"hole":0.55,"hovertemplate":"kind=%{customdata[0]}\u003cbr\u003en=%{value}\u003cextra\u003e\u003c\u002fextra\u003e","labels":["committee","commune","province"],"legendgroup":"","marker":{"colors":["#000000","#76B900","#5C9300"]},"name":"","showlegend":true,"values":{"dtype":"i2","bdata":"HQ35DCIA"},"type":"pie","pull":[0.02,0.02,0.02],"textinfo":"label+percent+value"}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"legend":{"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"title":{"text":"Vietnam post-merger admin units (n = 6712)","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"showlegend":false,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"xaxis":{"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/01_admin_kind_donut.png
ADDED
|
Git LFS Details
|
figures/analysis/02_macro_region_breakdown.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="f10a1292-f568-4768-90bf-1d72b94341ef" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("f10a1292-f568-4768-90bf-1d72b94341ef")) { Plotly.newPlot( "f10a1292-f568-4768-90bf-1d72b94341ef", [{"hovertemplate":"kind=committee\u003cbr\u003emacro_region_en=%{x}\u003cbr\u003en=%{text}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"committee","marker":{"color":"#000000","pattern":{"shape":""}},"name":"committee","orientation":"v","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAADAd0AAAAAAAMiAQAAAAAAACIdAAAAAAABQikAAAAAAAADwPwAAAAAAYH9AAAAAAABgdkA="},"textposition":"outside","x":["Central Highlands","Mekong River Delta","North Central and Central Coastal Areas","Northern Midlands and Mountain Areas","Other","Red River Delta","Southeast"],"xaxis":"x","y":{"dtype":"i2","bdata":"fAEZAuECSgMBAPYBZgE="},"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"kind=commune\u003cbr\u003emacro_region_en=%{x}\u003cbr\u003en=%{text}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"commune","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"commune","orientation":"v","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAACQdkAAAAAAAPB+QAAAAAAAEIdAAAAAAABIikAAAAAAAHiAQAAAAAAAcHZA"},"textposition":"outside","x":["Central Highlands","Mekong River Delta","North Central and Central Coastal Areas","Northern Midlands and Mountain Areas","Red River Delta","Southeast"],"xaxis":"x","y":{"dtype":"i2","bdata":"aQHvAeICSQMPAmcB"},"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"kind=province\u003cbr\u003emacro_region_en=%{x}\u003cbr\u003en=%{text}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"province","marker":{"color":"#5C9300","pattern":{"shape":""}},"name":"province","orientation":"v","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAAAACEAAAAAAAAAUQAAAAAAAACBAAAAAAAAAJEAAAAAAAAAUQAAAAAAAAAhA"},"textposition":"outside","x":["Central Highlands","Mekong River Delta","North Central and Central Coastal Areas","Northern Midlands and Mountain Areas","Red River Delta","Southeast"],"xaxis":"x","y":{"dtype":"i1","bdata":"AwUICgUD"},"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"categoryorder":"array","categoryarray":["Northern Midlands and Mountain Areas","Red River Delta","North Central and Central Coastal Areas","Central Highlands","Southeast","Mekong River Delta"],"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"text":"count","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"title":{"text":"entity kind"},"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"Macro-region inventory: provinces, communes, committees","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/02_macro_region_breakdown.png
ADDED
|
Git LFS Details
|
figures/analysis/03_province_population.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="ebf696ac-9c04-4f8b-9673-65ba8cb7d52c" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("ebf696ac-9c04-4f8b-9673-65ba8cb7d52c")) { Plotly.newPlot( "ebf696ac-9c04-4f8b-9673-65ba8cb7d52c", [{"customdata":[["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003epopulation=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Northern Midlands and Mountain Areas","marker":{"color":"#1F4E79","pattern":{"shape":""}},"name":"Northern Midlands and Mountain Areas","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"AAAAAGRJH0EAAAAAfn0hQQAAAACGiiRBAAAAANDlKkEAAAAAq241QQAAAABhJDtBAAAAAEF1O0EAAAAANnY8QQAAAIA0nUtBAAAAALewTkE="},"xaxis":"x","y":["Tỉnh Lai Châu","Tỉnh Cao Bằng","Tỉnh Điện Biên","Tỉnh Lạng Sơn","Tỉnh Sơn La","Tỉnh Lào Cai","Tỉnh Thái Nguyên","Tỉnh Tuyên Quang","Tỉnh Bắc Ninh","Tỉnh Phú Thọ"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003epopulation=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"North Central and Central Coastal Areas","marker":{"color":"#C97C00","pattern":{"shape":""}},"name":"North Central and Central Coastal Areas","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"AAAAAJrdNUEAAAAAdcM4QQAAAAD9izxBAAAAgC1+QEEAAAAA8R1BQQAAAACOY0dBAAAAAMc7TUEAAADAa39QQQ=="},"xaxis":"x","y":["Thành phố Huế","Tỉnh Hà Tĩnh","Tỉnh Quảng Trị","Tỉnh Quảng Ngãi","Tỉnh Khánh Hòa","Thành phố Đà Nẵng","Tỉnh Nghệ An","Tỉnh Thanh Hóa"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Red River Delta"],["Red River Delta"],["Red River Delta"],["Red River Delta"],["Red River Delta"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003epopulation=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Red River Delta","marker":{"color":"#5C9300","pattern":{"shape":""}},"name":"Red River Delta","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"AAAAAGfZNkEAAACAozhLQQAAAADa1FBBAAAAAM\u002fKUUEAAABgjMxgQQ=="},"xaxis":"x","y":["Tỉnh Quảng Ninh","Tỉnh Hưng Yên","Tỉnh Ninh Bình","Thành phố Hải Phòng","Thủ đô Hà Nội"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003epopulation=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Mekong River Delta","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"Mekong River Delta","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"AAAAACjjQ0EAAAAAZAVQQQAAAEDLPVBBAAAAgJ+rUEEAAACAK+RSQQ=="},"xaxis":"x","y":["Tỉnh Cà Mau","Thành phố Cần Thơ","Tỉnh Vĩnh Long","Tỉnh Đồng Tháp","Tỉnh An Giang"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Southeast"],["Southeast"],["Southeast"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003epopulation=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Southeast","marker":{"color":"#000000","pattern":{"shape":""}},"name":"Southeast","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"AAAAAM3TSEEAAAAAJCJRQQAAAMA0tWpB"},"xaxis":"x","y":["Tỉnh Tây Ninh","Thành phố Đồng Nai","Thành phố Hồ Chí Minh"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Central Highlands"],["Central Highlands"],["Central Highlands"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003epopulation=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Central Highlands","marker":{"color":"#7F4E2C","pattern":{"shape":""}},"name":"Central Highlands","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"AAAAgNKISUEAAACAZldLQQAAAIBzjE1B"},"xaxis":"x","y":["Tỉnh Đắk Lắk","Tỉnh Gia Lai","Tỉnh Lâm Đồng"],"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"people","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"title":{"text":"macro-region"},"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"34 provinces by population","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/03_province_population.png
ADDED
|
Git LFS Details
|
figures/analysis/04_province_area.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="3b6442ff-b5ae-4bc5-87a9-716e0a6b6243" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("3b6442ff-b5ae-4bc5-87a9-716e0a6b6243")) { Plotly.newPlot( "3b6442ff-b5ae-4bc5-87a9-716e0a6b6243", [{"customdata":[["Red River Delta"],["Red River Delta"],["Red River Delta"],["Red River Delta"],["Red River Delta"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003earea_km2=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Red River Delta","marker":{"color":"#5C9300","pattern":{"shape":""}},"name":"Red River Delta","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"hetRuJ6lo0A9CtejcPWoQEjhehSuP6pACtejcD3NrkAzMzMz8z+4QA=="},"xaxis":"x","y":["Tỉnh Hưng Yên","Thành phố Hải Phòng","Thủ đô Hà Nội","Tỉnh Ninh Bình","Tỉnh Quảng Ninh"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003earea_km2=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Northern Midlands and Mountain Areas","marker":{"color":"#1F4E79","pattern":{"shape":""}},"name":"Northern Midlands and Mountain Areas","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"mpmZmZluskBxPQrXYyy6QKRwPQoXO8BAFK5H4ZpbwEAK16NwXbbBQD0K16OwSMJApHA9CvehwkApXI\u002fCdeTJQAAAAADA8cpAuB6F63GOy0A="},"xaxis":"x","y":["Tỉnh Bắc Ninh","Tỉnh Cao Bằng","Tỉnh Lạng Sơn","Tỉnh Thái Nguyên","Tỉnh Lai Châu","Tỉnh Phú Thọ","Tỉnh Điện Biên","Tỉnh Lào Cai","Tỉnh Tuyên Quang","Tỉnh Sơn La"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003earea_km2=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"North Central and Central Coastal Areas","marker":{"color":"#C97C00","pattern":{"shape":""}},"name":"North Central and Central Coastal Areas","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"j8L1KBxTs0AzMzMzc2q3QEjhehTutcBAFK5H4Vq1xUBSuB6FyynHQAAAAAAAzshAZmZmZkb4zEAAAAAAoBnQQA=="},"xaxis":"x","y":["Thành phố Huế","Tỉnh Hà Tĩnh","Tỉnh Khánh Hòa","Tỉnh Thanh Hóa","Thành phố Đà Nẵng","Tỉnh Quảng Trị","Tỉnh Quảng Ngãi","Tỉnh Nghệ An"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003earea_km2=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Mekong River Delta","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"Mekong River Delta","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"cT0K16Myt0AzMzMzM5i4QK5H4XrU2LhAcT0K12MGv0CuR+F6dFDDQA=="},"xaxis":"x","y":["Tỉnh Đồng Tháp","Tỉnh Vĩnh Long","Thành phố Cần Thơ","Tỉnh Cà Mau","Tỉnh An Giang"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Southeast"],["Southeast"],["Southeast"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003earea_km2=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Southeast","marker":{"color":"#000000","pattern":{"shape":""}},"name":"Southeast","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"pHA9Cpd0ukAfhetROKzAQKRwPQqX4MhA"},"xaxis":"x","y":["Thành phố Hồ Chí Minh","Tỉnh Tây Ninh","Thành phố Đồng Nai"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Central Highlands"],["Central Highlands"],["Central Highlands"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003earea_km2=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Central Highlands","marker":{"color":"#7F4E2C","pattern":{"shape":""}},"name":"Central Highlands","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"mpmZmRms0UC4HoXrIRLVQK5H4XpEqtdA"},"xaxis":"x","y":["Tỉnh Đắk Lắk","Tỉnh Gia Lai","Tỉnh Lâm Đồng"],"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"km²","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"title":{"text":"macro-region"},"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"34 provinces by area","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/04_province_area.png
ADDED
|
Git LFS Details
|
figures/analysis/05_province_density.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="cbcd30ca-134e-4e96-86c0-163f1d278df9" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("cbcd30ca-134e-4e96-86c0-163f1d278df9")) { Plotly.newPlot( "cbcd30ca-134e-4e96-86c0-163f1d278df9", [{"customdata":[["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"],["Northern Midlands and Mountain Areas"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003edensity=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Northern Midlands and Mountain Areas","marker":{"color":"#1F4E79","pattern":{"shape":""}},"name":"Northern Midlands and Mountain Areas","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"Q1Ap0BJDTEDs1WM\u002fh6NRQBvqGTtAYlVA13ONx2njWECLnpx644NaQLREz+6wxWBAirg5tazmYEAQUx+wfNtqQHmrV2VK23pASulkzHP4h0A="},"xaxis":"x","y":["Tỉnh Lai Châu","Tỉnh Điện Biên","Tỉnh Cao Bằng","Tỉnh Sơn La","Tỉnh Lạng Sơn","Tỉnh Lào Cai","Tỉnh Tuyên Quang","Tỉnh Thái Nguyên","Tỉnh Phú Thọ","Tỉnh Bắc Ninh"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"],["North Central and Central Coastal Areas"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003edensity=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"North Central and Central Coastal Areas","marker":{"color":"#C97C00","pattern":{"shape":""}},"name":"North Central and Central Coastal Areas","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"06Vywc43YkALHymu8GliQPrs2cc\u002fDW1AaUMRv+UncEC84qWKlmNwQOS0Niy+63BA85jJbJQackBR903Iq1F4QA=="},"xaxis":"x","y":["Tỉnh Quảng Ngãi","Tỉnh Quảng Trị","Tỉnh Nghệ An","Thành phố Đà Nẵng","Tỉnh Khánh Hòa","Tỉnh Hà Tĩnh","Thành phố Huế","Tỉnh Thanh Hóa"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Central Highlands"],["Central Highlands"],["Central Highlands"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003edensity=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Central Highlands","marker":{"color":"#7F4E2C","pattern":{"shape":""}},"name":"Central Highlands","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"dfsXBVX6Y0DhCMAs88JkQG08EepDHmdA"},"xaxis":"x","y":["Tỉnh Lâm Đồng","Tỉnh Gia Lai","Tỉnh Đắk Lắk"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Red River Delta"],["Red River Delta"],["Red River Delta"],["Red River Delta"],["Red River Delta"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003edensity=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Red River Delta","marker":{"color":"#5C9300","pattern":{"shape":""}},"name":"Red River Delta","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"zMeFc9wmbkAxwM+lenyRQMIEBe4WK5ZAyKtWaMrPlkB3+MWn0nqkQA=="},"xaxis":"x","y":["Tỉnh Quảng Ninh","Tỉnh Ninh Bình","Tỉnh Hưng Yên","Thành phố Hải Phòng","Thủ đô Hà Nội"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"],["Mekong River Delta"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003edensity=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Mekong River Delta","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"Mekong River Delta","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"I0wzriiDdEBAXK26l0x\u002fQJ674q8booRAJpqUDrchhUDG4RuD7v6GQA=="},"xaxis":"x","y":["Tỉnh Cà Mau","Tỉnh An Giang","Thành phố Cần Thơ","Tỉnh Vĩnh Long","Tỉnh Đồng Tháp"],"yaxis":"y","type":"bar","cliponaxis":false},{"customdata":[["Southeast"],["Southeast"],["Southeast"]],"hovertemplate":"macro_region_en=%{customdata[0]}\u003cbr\u003edensity=%{x:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Southeast","marker":{"color":"#000000","pattern":{"shape":""}},"name":"Southeast","orientation":"h","showlegend":true,"textposition":"auto","x":{"dtype":"f8","bdata":"nh0DG\u002fMJdkAfAggkWdN3QBOUEkYUJ6BA"},"xaxis":"x","y":["Thành phố Đồng Nai","Tỉnh Tây Ninh","Thành phố Hồ Chí Minh"],"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"people \u002f km²","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"title":{"text":"macro-region"},"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"34 provinces by population density","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/05_province_density.png
ADDED
|
Git LFS Details
|
figures/analysis/06_communes_per_province.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="68491111-2630-4c6e-b3f5-a94bfc97cf4a" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("68491111-2630-4c6e-b3f5-a94bfc97cf4a")) { Plotly.newPlot( "68491111-2630-4c6e-b3f5-a94bfc97cf4a", [{"hovertemplate":"macro_region_en=Northern Midlands and Mountain Areas\u003cbr\u003en_communes=%{text}\u003cbr\u003eparent_ten=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Northern Midlands and Mountain Areas","marker":{"color":"#1F4E79","pattern":{"shape":""}},"name":"Northern Midlands and Mountain Areas","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAAAAQ0AAAAAAAIBGQAAAAAAAAExAAAAAAABAUEAAAAAAAMBSQAAAAAAAAFdAAAAAAADAWEAAAAAAAMBYQAAAAAAAAF9AAAAAAACAYkA="},"textposition":"outside","x":{"dtype":"i2","bdata":"JgAtADgAQQBLAFwAYwBjAHwAlAA="},"xaxis":"x","y":["Tỉnh Lai Châu","Tỉnh Điện Biên","Tỉnh Cao Bằng","Tỉnh Lạng Sơn","Tỉnh Sơn La","Tỉnh Thái Nguyên","Tỉnh Lào Cai","Tỉnh Bắc Ninh","Tỉnh Tuyên Quang","Tỉnh Phú Thọ"],"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"macro_region_en=North Central and Central Coastal Areas\u003cbr\u003en_communes=%{text}\u003cbr\u003eparent_ten=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"North Central and Central Coastal Areas","marker":{"color":"#C97C00","pattern":{"shape":""}},"name":"North Central and Central Coastal Areas","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAAAAREAAAAAAAEBQQAAAAAAAQFFAAAAAAACAU0AAAAAAAIBXQAAAAAAAAFhAAAAAAABAYEAAAAAAAMBkQA=="},"textposition":"outside","x":{"dtype":"i2","bdata":"KABBAEUATgBeAGAAggCmAA=="},"xaxis":"x","y":["Thành phố Huế","Tỉnh Khánh Hòa","Tỉnh Hà Tĩnh","Tỉnh Quảng Trị","Thành phố Đà Nẵng","Tỉnh Quảng Ngãi","Tỉnh Nghệ An","Tỉnh Thanh Hóa"],"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"macro_region_en=Red River Delta\u003cbr\u003en_communes=%{text}\u003cbr\u003eparent_ten=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Red River Delta","marker":{"color":"#5C9300","pattern":{"shape":""}},"name":"Red River Delta","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAAAAS0AAAAAAAABaQAAAAAAAgFxAAAAAAACAX0AAAAAAACBgQA=="},"textposition":"outside","x":{"dtype":"i2","bdata":"NgBoAHIAfgCBAA=="},"xaxis":"x","y":["Tỉnh Quảng Ninh","Tỉnh Hưng Yên","Thành phố Hải Phòng","Thủ đô Hà Nội","Tỉnh Ninh Bình"],"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"macro_region_en=Mekong River Delta\u003cbr\u003en_communes=%{text}\u003cbr\u003eparent_ten=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Mekong River Delta","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"Mekong River Delta","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAAAAUEAAAAAAAIBZQAAAAAAAgFlAAAAAAADAWUAAAAAAAABfQA=="},"textposition":"outside","x":{"dtype":"i1","bdata":"QGZmZ3w="},"xaxis":"x","y":["Tỉnh Cà Mau","Tỉnh Đồng Tháp","Tỉnh An Giang","Thành phố Cần Thơ","Tỉnh Vĩnh Long"],"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"macro_region_en=Southeast\u003cbr\u003en_communes=%{text}\u003cbr\u003eparent_ten=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Southeast","marker":{"color":"#000000","pattern":{"shape":""}},"name":"Southeast","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAADAV0AAAAAAAABYQAAAAAAAAGVA"},"textposition":"outside","x":{"dtype":"i2","bdata":"XwBgAKgA"},"xaxis":"x","y":["Thành phố Đồng Nai","Tỉnh Tây Ninh","Thành phố Hồ Chí Minh"],"yaxis":"y","type":"bar","cliponaxis":false},{"hovertemplate":"macro_region_en=Central Highlands\u003cbr\u003en_communes=%{text}\u003cbr\u003eparent_ten=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"Central Highlands","marker":{"color":"#7F4E2C","pattern":{"shape":""}},"name":"Central Highlands","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAACAWUAAAAAAAABfQAAAAAAA4GBA"},"textposition":"outside","x":{"dtype":"i2","bdata":"ZgB8AIcA"},"xaxis":"x","y":["Tỉnh Đắk Lắk","Tỉnh Lâm Đồng","Tỉnh Gia Lai"],"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"number of communes \u002f wards","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"title":{"text":"macro-region"},"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"Communes per province (post-merger)","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/06_communes_per_province.png
ADDED
|
Git LFS Details
|
figures/analysis/07_merger_fanout_provinces.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="0ffd5ac5-6d05-439f-adf8-d7c1d2c027c4" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("0ffd5ac5-6d05-439f-adf8-d7c1d2c027c4")) { Plotly.newPlot( "0ffd5ac5-6d05-439f-adf8-d7c1d2c027c4", [{"hovertemplate":"n_predecessors=%{x}\u003cbr\u003en_units=%{text}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"","orientation":"v","showlegend":false,"text":{"dtype":"f8","bdata":"AAAAAAAAJkAAAAAAAAAwQAAAAAAAABhAAAAAAAAA8D8="},"textposition":"outside","x":{"dtype":"i1","bdata":"AQIDBA=="},"xaxis":"x","y":{"dtype":"i1","bdata":"CxAGAQ=="},"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"number of predecessor units absorbed","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"text":"number of provinces","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"Province merger fanout","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/07_merger_fanout_provinces.png
ADDED
|
Git LFS Details
|
figures/analysis/08_merger_fanout_communes.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="c18d2fe3-a3a7-43df-978b-b020f7a1691b" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("c18d2fe3-a3a7-43df-978b-b020f7a1691b")) { Plotly.newPlot( "c18d2fe3-a3a7-43df-978b-b020f7a1691b", [{"hovertemplate":"n_predecessors=%{x}\u003cbr\u003en_units=%{text}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"","orientation":"v","showlegend":false,"text":{"dtype":"f8","bdata":"AAAAAABgYUAAAAAAALCHQAAAAAAAaJdAAAAAAAB4gUAAAAAAAGBmQAAAAAAAgFNAAAAAAACAQkAAAAAAAAA9QAAAAAAAADFAAAAAAAAAKEAAAAAAAAAYQAAAAAAAABhAAAAAAAAA8D8AAAAAAADwPwAAAAAAAPA\u002f"},"textposition":"outside","x":{"dtype":"i1","bdata":"AQIDBAUGBwgJCgsMDQ4Q"},"xaxis":"x","y":{"dtype":"i2","bdata":"iwD2AtoFLwKzAE4AJQAdABEADAAGAAYAAQABAAEA"},"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"number of predecessor units absorbed","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"text":"number of communes","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"Commune merger fanout","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/08_merger_fanout_communes.png
ADDED
|
Git LFS Details
|
figures/analysis/09_commune_size_distribution.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/analysis/09_commune_size_distribution.png
ADDED
|
Git LFS Details
|
figures/analysis/10_decree_map.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="b5c3d8f6-744c-40f0-8cab-eeab26c6fd5e" class="plotly-graph-div" style="height:900px; width:1200px;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("b5c3d8f6-744c-40f0-8cab-eeab26c6fd5e")) { Plotly.newPlot( "b5c3d8f6-744c-40f0-8cab-eeab26c6fd5e", [{"hovertemplate":"kind=commune\u003cbr\u003en=%{text}\u003cbr\u003edecree_short=%{y}\u003cextra\u003e\u003c\u002fextra\u003e","legendgroup":"commune","marker":{"color":"#76B900","pattern":{"shape":""}},"name":"commune","orientation":"h","showlegend":true,"text":{"dtype":"f8","bdata":"AAAAAAAAZUAAAAAAAMBkQAAAAAAAgGJAAAAAAADgYEAAAAAAAEBgQAAAAAAAIGBAAAAAAACAX0AAAAAAAABfQAAAAAAAAF9AAAAAAAAAX0AAAAAAAIBcQAAAAAAAAFpAAAAAAADAWUAAAAAAAIBZQAAAAAAAgFlAAAAAAACAWUAAAAAAAMBYQAAAAAAAwFhAAAAAAAAAWEAAAAAAAABYQA=="},"textposition":"outside","x":{"dtype":"i2","bdata":"qACmAJQAhwCCAIEAfgB8AHwAfAByAGgAZwBmAGYAZgBjAGMAYABgAA=="},"xaxis":"x","y":["Nghị quyết số 1685\u002fNQ-UBTVQH15","Nghị quyết số 1686\u002fNQ-UBTVQH15","Nghị quyết số 1676\u002fNQ-UBTVQH15","Nghị quyết số 1664\u002fNQ-UBTVQH15","Nghị quyết số 1678\u002fNQ-UBTVQH15","Nghị quyết số 1674\u002fNQ-UBTVQH15","Nghị quyết số 1656\u002fNQ-UBTVQH15","Nghị quyết số 1671\u002fNQ-UBTVQH15","Nghị quyết số 1687\u002fNQ-UBTVQH15","Nghị quyết số 1684\u002fNQ-UBTVQH15","Nghị quyết số 1669\u002fNQ-UBTVQH15","Nghị quyết số 1666\u002fNQ-UBTVQH15","Nghị quyết số 1668\u002fNQ-UBTVQH15","Nghị quyết số 1654\u002fNQ-UBTVQH15","Nghị quyết số 1663\u002fNQ-UBTVQH15","Nghị quyết số 1660\u002fNQ-UBTVQH15","Nghị quyết số 1658\u002fNQ-UBTVQH15","Nghị quyết số 1673\u002fNQ-UBTVQH15","Nghị quyết số 1682\u002fNQ-UBTVQH15","Nghị quyết số 1677\u002fNQ-UBTVQH15"],"yaxis":"y","type":"bar","cliponaxis":false}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"xaxis":{"anchor":"y","domain":[0.0,1.0],"title":{"text":"number of units cited","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"anchor":"x","domain":[0.0,1.0],"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"legend":{"title":{"text":"entity kind"},"tracegroupgap":0,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"barmode":"relative","title":{"text":"Top decrees authorising the merger (count by entity kind)","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"width":1200,"height":900}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/10_decree_map.png
ADDED
|
Git LFS Details
|
figures/analysis/11_curator_umap_kind.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/analysis/11_curator_umap_kind.png
ADDED
|
Git LFS Details
|
figures/analysis/11_provinces_choropleth.html
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="0e1ee302-235e-47a2-8e50-8d5ba8c6538a" class="plotly-graph-div" style="height:900px; width:100%;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("0e1ee302-235e-47a2-8e50-8d5ba8c6538a")) { Plotly.newPlot( "0e1ee302-235e-47a2-8e50-8d5ba8c6538a", [{"customdata":{"dtype":"f8","bdata":"AAAAAGQFUEGuR+F61Ni4QCzP7BnJfCNAXVEu5HFwWkAAAACAK+RSQa5H4Xp0UMNAncvlmXteJECH9CdpFUJaQAAAAAAo40NBcT0K12MGv0A4p1pRREUiQNbtfUqdS1pAAAAAgJ+rUEFxPQrXozK3QITVNTKF\u002fSRA9igsLpd5WkAAAABAyz1QQTMzMzMzmLhA1IDxwsT9I0AhlIJ7uJJaQA==","shape":"5, 4"},"geo":"geo","hovertemplate":"\u003cb\u003e%{hovertext}\u003c\u002fb\u003e\u003cbr\u003e\u003cbr\u003emacro_region_en=Mekong River Delta\u003cbr\u003epopulation=%{customdata[0]:,}\u003cbr\u003earea_km2=%{customdata[1]:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","hovertext":["Thành phố Cần Thơ","Tỉnh An Giang","Tỉnh Cà Mau","Tỉnh Đồng Tháp","Tỉnh Vĩnh Long"],"lat":{"dtype":"f8","bdata":"LM\u002fsGcl8I0Cdy+WZe14kQDinWlFERSJAhNU1MoX9JEDUgPHCxP0jQA=="},"legendgroup":"Mekong River Delta","lon":{"dtype":"f8","bdata":"XVEu5HFwWkCH9CdpFUJaQNbtfUqdS1pA9igsLpd5WkAhlIJ7uJJaQA=="},"marker":{"color":"#76B900","size":{"dtype":"f8","bdata":"AAAAAGQFUEEAAACAK+RSQQAAAAAo40NBAAAAgJ+rUEEAAABAyz1QQQ=="},"sizemode":"area","sizeref":2857.6730612244896,"symbol":"circle"},"mode":"markers","name":"Mekong River Delta","showlegend":true,"type":"scattergeo"},{"customdata":{"dtype":"f8","bdata":"AAAAAI5jR0FSuB6FyynHQCoNglVXQy9Abx4HK9r9WkAAAAAAmt01QY\u002fC9SgcU7NAvrATteBUMEB2OJ2eG+FaQAAAAAB1wzhBMzMzM3Nqt0CM9fBLkUoyQPR+hNwJb1pAAAAAAPEdQUFI4XoU7rXAQNHvLemRJShAbzcSls49W0AAAAAAxztNQQAAAACgGdBAfaZ1CMg8M0ARXKY\u002fbDxaQAAAAIAtfkBBZmZmZkb4zECGlZkM2YktQLmUGjwwCVtAAAAAAP2LPEEAAAAAAM7IQMWcTOqNPTFAiga9crmhWkAAAADAa39QQRSuR+FatcVAlLega+ULNEDZqtbwVFRaQA==","shape":"8, 4"},"geo":"geo","hovertemplate":"\u003cb\u003e%{hovertext}\u003c\u002fb\u003e\u003cbr\u003e\u003cbr\u003emacro_region_en=North Central and Central Coastal Areas\u003cbr\u003epopulation=%{customdata[0]:,}\u003cbr\u003earea_km2=%{customdata[1]:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","hovertext":["Thành phố Đà Nẵng","Thành phố Huế","Tỉnh Hà Tĩnh","Tỉnh Khánh Hòa","Tỉnh Nghệ An","Tỉnh Quảng Ngãi","Tỉnh Quảng Trị","Tỉnh Thanh Hóa"],"lat":{"dtype":"f8","bdata":"Kg2CVVdDL0C+sBO14FQwQIz18EuRSjJA0e8t6ZElKEB9pnUIyDwzQIaVmQzZiS1AxZxM6o09MUCUt6Br5Qs0QA=="},"legendgroup":"North Central and Central Coastal Areas","lon":{"dtype":"f8","bdata":"bx4HK9r9WkB2OJ2eG+FaQPR+hNwJb1pAbzcSls49W0ARXKY\u002fbDxaQLmUGjwwCVtAiga9crmhWkDZqtbwVFRaQA=="},"marker":{"color":"#C97C00","size":{"dtype":"f8","bdata":"AAAAAI5jR0EAAAAAmt01QQAAAAB1wzhBAAAAAPEdQUEAAAAAxztNQQAAAIAtfkBBAAAAAP2LPEEAAADAa39QQQ=="},"sizemode":"area","sizeref":2857.6730612244896,"symbol":"circle"},"mode":"markers","name":"North Central and Central Coastal Areas","showlegend":true,"type":"scattergeo"},{"customdata":{"dtype":"f8","bdata":"AAAAAM\u002fKUUE9CtejcPWoQNdazQq+3jRAJaQP5HegWkAAAABgjMxgQUjhehSuP6pAxMMLxAYANUDUeI4lrGxaQAAAAICjOEtBhetRuJ6lo0B3EvMmbp40QBhIvXNSkVpAAAAAANrUUEEK16NwPc2uQNeKPRvrTzRAAHmnvvaCWkAAAAAAZ9k2QTMzMzPzP7hAhwaQx2c9NUBPhVVOZNBaQA==","shape":"5, 4"},"geo":"geo","hovertemplate":"\u003cb\u003e%{hovertext}\u003c\u002fb\u003e\u003cbr\u003e\u003cbr\u003emacro_region_en=Red River Delta\u003cbr\u003epopulation=%{customdata[0]:,}\u003cbr\u003earea_km2=%{customdata[1]:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","hovertext":["Thành phố Hải Phòng","Thủ đô Hà Nội","Tỉnh Hưng Yên","Tỉnh Ninh Bình","Tỉnh Quảng Ninh"],"lat":{"dtype":"f8","bdata":"11rNCr7eNEDEwwvEBgA1QHcS8yZunjRA14o9G+tPNECHBpDHZz01QA=="},"legendgroup":"Red River Delta","lon":{"dtype":"f8","bdata":"JaQP5HegWkDUeI4lrGxaQBhIvXNSkVpAAHmnvvaCWkBPhVVOZNBaQA=="},"marker":{"color":"#5C9300","size":{"dtype":"f8","bdata":"AAAAAM\u002fKUUEAAABgjMxgQQAAAICjOEtBAAAAANrUUEEAAAAAZ9k2QQ=="},"sizemode":"area","sizeref":2857.6730612244896,"symbol":"circle"},"mode":"markers","name":"Red River Delta","showlegend":true,"type":"scattergeo"},{"customdata":{"dtype":"f8","bdata":"AAAAwDS1akGkcD0Kl3S6QPLjQhGNuiVASKbY+\u002f21WkAAAAAAJCJRQaRwPQqX4MhAaWqRRrPfJkDCl3vZKMJaQAAAAADN00hBH4XrUTiswEBuJqkaqBkmQPmHYEiPilpA","shape":"3, 4"},"geo":"geo","hovertemplate":"\u003cb\u003e%{hovertext}\u003c\u002fb\u003e\u003cbr\u003e\u003cbr\u003emacro_region_en=Southeast\u003cbr\u003epopulation=%{customdata[0]:,}\u003cbr\u003earea_km2=%{customdata[1]:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","hovertext":["Thành phố Hồ Chí Minh","Thành phố Đồng Nai","Tỉnh Tây Ninh"],"lat":{"dtype":"f8","bdata":"8uNCEY26JUBpapFGs98mQG4mqRqoGSZA"},"legendgroup":"Southeast","lon":{"dtype":"f8","bdata":"SKbY+\u002f21WkDCl3vZKMJaQPmHYEiPilpA"},"marker":{"color":"#000000","size":{"dtype":"f8","bdata":"AAAAwDS1akEAAAAAJCJRQQAAAADN00hB"},"sizemode":"area","sizeref":2857.6730612244896,"symbol":"circle"},"mode":"markers","name":"Southeast","showlegend":true,"type":"scattergeo"},{"customdata":{"dtype":"f8","bdata":"AAAAgDSdS0GamZmZmW6yQK9eRJe2UDVAcvRn9XyaWkAAAAAAfn0hQXE9CtdjLLpAfy1eBd2+NkA3PkrDVIVaQAAAAACGiiRBpHA9CvehwkDFBSHGE7Y1QGdPr3VYwVlAAAAAAGRJH0EK16NwXbbBQAylALlrUTZA+l0OotjLWUAAAAAA0OUqQaRwPQoXO8BAKmslz+3WNUAh\u002ft\u002fdmqdaQAAAAABhJDtBKVyPwnXkyUB5R99xew82QFaBEIs7FlpAAAAAALewTkE9CtejsEjCQDu+fJnnAzVAse22aC9SWkAAAAAAq241QbgehetxjstAchgvr9oxNUBvJG0JcARaQAAAAABBdTtBFK5H4ZpbwEDJ4auKHgY2QIpfFI+5dFpAAAAAADZ2PEEAAAAAwPHKQHKp969bfTZAwNkoxVFGWkA=","shape":"10, 4"},"geo":"geo","hovertemplate":"\u003cb\u003e%{hovertext}\u003c\u002fb\u003e\u003cbr\u003e\u003cbr\u003emacro_region_en=Northern Midlands and Mountain Areas\u003cbr\u003epopulation=%{customdata[0]:,}\u003cbr\u003earea_km2=%{customdata[1]:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","hovertext":["Tỉnh Bắc Ninh","Tỉnh Cao Bằng","Tỉnh Điện Biên","Tỉnh Lai Châu","Tỉnh Lạng Sơn","Tỉnh Lào Cai","Tỉnh Phú Thọ","Tỉnh Sơn La","Tỉnh Thái Nguyên","Tỉnh Tuyên Quang"],"lat":{"dtype":"f8","bdata":"r15El7ZQNUB\u002fLV4F3b42QMUFIcYTtjVADKUAuWtRNkAqayXP7dY1QHlH33F7DzZAO758mecDNUByGC+v2jE1QMnhq4oeBjZAcqn3r1t9NkA="},"legendgroup":"Northern Midlands and Mountain Areas","lon":{"dtype":"f8","bdata":"cvRn9XyaWkA3PkrDVIVaQGdPr3VYwVlA+l0OotjLWUAh\u002ft\u002fdmqdaQFaBEIs7FlpAse22aC9SWkBvJG0JcARaQIpfFI+5dFpAwNkoxVFGWkA="},"marker":{"color":"#1F4E79","size":{"dtype":"f8","bdata":"AAAAgDSdS0EAAAAAfn0hQQAAAACGiiRBAAAAAGRJH0EAAAAA0OUqQQAAAABhJDtBAAAAALewTkEAAAAAq241QQAAAABBdTtBAAAAADZ2PEE="},"sizemode":"area","sizeref":2857.6730612244896,"symbol":"circle"},"mode":"markers","name":"Northern Midlands and Mountain Areas","showlegend":true,"type":"scattergeo"},{"customdata":{"dtype":"f8","bdata":"AAAAgNKISUGamZmZGazRQD+Tu3vy1ylAfuhcmHIcW0AAAACAZldLQbgeheshEtVAx8fHf8XHK0BhLuFaDxxbQAAAAIBzjE1BrkfhekSq10D3xT+FmFgnQC2uaQUD\u002flpA","shape":"3, 4"},"geo":"geo","hovertemplate":"\u003cb\u003e%{hovertext}\u003c\u002fb\u003e\u003cbr\u003e\u003cbr\u003emacro_region_en=Central Highlands\u003cbr\u003epopulation=%{customdata[0]:,}\u003cbr\u003earea_km2=%{customdata[1]:.0f}\u003cextra\u003e\u003c\u002fextra\u003e","hovertext":["Tỉnh Đắk Lắk","Tỉnh Gia Lai","Tỉnh Lâm Đồng"],"lat":{"dtype":"f8","bdata":"P5O7e\u002fLXKUDHx8d\u002fxccrQPfFP4WYWCdA"},"legendgroup":"Central Highlands","lon":{"dtype":"f8","bdata":"fuhcmHIcW0BhLuFaDxxbQC2uaQUD\u002flpA"},"marker":{"color":"#7F4E2C","size":{"dtype":"f8","bdata":"AAAAgNKISUEAAACAZldLQQAAAIBzjE1B"},"sizemode":"area","sizeref":2857.6730612244896,"symbol":"circle"},"mode":"markers","name":"Central Highlands","showlegend":true,"type":"scattergeo"}], {"template":{"layout":{"colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"font":{"color":"#000000","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":14},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","title":{"font":{"color":"#1A1A1A","family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","size":20},"x":0.02,"xanchor":"left","y":0.96}}},"geo":{"domain":{"x":[0.0,1.0],"y":[0.0,1.0]},"projection":{"type":"mercator"},"center":{"lat":15.5,"lon":107},"lonaxis":{"range":[101,117]},"lataxis":{"range":[8,24]},"scope":"asia","showcountries":true,"countrycolor":"lightgray","bgcolor":"white"},"legend":{"title":{"text":"macro-region"},"tracegroupgap":0,"itemsizing":"constant","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"bgcolor":"rgba(255,255,255,0.92)","bordercolor":"#CCCCCC","borderwidth":1},"margin":{"t":80,"l":120,"r":80,"b":80},"title":{"text":"Population by post-merger province (bubble cartogram)","font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#1A1A1A","size":20},"x":0.02,"xanchor":"left","y":0.96},"height":900,"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14},"hoverlabel":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#FFFFFF","size":12},"bgcolor":"#000000","bordercolor":"#76B900"},"paper_bgcolor":"#FFFFFF","plot_bgcolor":"#FFFFFF","colorway":["#76B900","#000000","#888888","#B5D88A","#444444","#CCCCCC"],"xaxis":{"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true},"yaxis":{"tickfont":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":12},"title":{"font":{"family":"Latin Modern Roman, LM Roman 10, Computer Modern, CMU Serif, STIX Two Text, STIX, Times New Roman, Times, serif","color":"#000000","size":14}},"showgrid":true,"gridcolor":"rgba(0,0,0,0.08)","zeroline":true,"zerolinecolor":"#CCCCCC","linecolor":"#000000","linewidth":1,"ticks":"outside","tickcolor":"#000000","showline":true,"mirror":false,"automargin":true}}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
+
</html>
|
figures/analysis/11_provinces_choropleth.png
ADDED
|
Git LFS Details
|
figures/analysis/12_committees_scatter.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/analysis/12_committees_scatter.png
ADDED
|
Git LFS Details
|
figures/analysis/12_curator_umap_region.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/analysis/12_curator_umap_region.png
ADDED
|
Git LFS Details
|
figures/analysis/13_curator_umap_kind.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/analysis/13_curator_umap_kind.png
ADDED
|
Git LFS Details
|
figures/analysis/14_curator_umap_region.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/analysis/14_curator_umap_region.png
ADDED
|
Git LFS Details
|
figures/maps/01_provinces_population.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/maps/01_provinces_population.png
ADDED
|
Git LFS Details
|
figures/maps/02_provinces_density.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/maps/02_provinces_density.png
ADDED
|
Git LFS Details
|
figures/maps/03_provinces_area.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/maps/03_provinces_area.png
ADDED
|
Git LFS Details
|
figures/maps/04_communes_scatter.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
figures/maps/04_communes_scatter.png
ADDED
|
Git LFS Details
|
figures/maps/05_committees_scatter.html
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|