Visualization Module Catalog: Seventeen Ways to See Taiwan Data

Taiwan.md's live examples of visualization modules—using real Taiwan housing and population data to render each tw-* visualization module once, together with the syntax and design principles from graph.md.

30‑second overview: This page is the “live example” of Taiwan.md’s visualization system—rendering each of the seventeen article‑level visualization modules once, all with real Taiwan data (price‑to‑income ratio, public housing, aging, referendums). It is the companion to the editorial guide graph.md: graph.md explains “when to use which, how to do it well, and the syntax,” and this page shows you exactly “what it looks like.” Each module is pure HTML/SVG, so people, screen readers, Google, and AI crawlers all read the same data—this is why we choose static visualizations over interactive charts.

When writing a data‑heavy article, the biggest fear is turning the information into a wall of numbers that makes readers tune out after the third percentage point. Visualization’s job is to turn “dense numeric prose” into “a structure readable at a glance.”

But Taiwan.md’s visualizations follow a discipline that others lack: we only make visualizations that LLMs can also understand. An interactive D3 or Canvas chart may look flashy, but GPTBot, PerplexityBot, ClaudeBot and similar AI crawlers do not execute JavaScript; to them the chart is a blank space. Our charts, built with semantic HTML and inline SVG, embed the data directly in the source code, so AI can read and cite Taiwan’s first‑person data in any of the six supported languages. Visualizations that LLMs can read are sovereign visualizations.

The seventeen modules below range from the simplest “big number” to “county‑level tile map,” displayed in order. The full syntax and design principles are in graph.md; here we only give a one‑sentence “what it is, when to use it.”

Data‑Big‑Number `tw-figure`

The simplest and most powerful: put a dramatic figure at maximum size, with a before‑and‑after contrast that tells a transformation story. Ideal for an opening “sledgehammer stat.”

6.7 萬87 萬 / 坪
Taipei Chenggong Public Housing 1985’s unsold allocation price versus 2026’s average market price—same address, about 13 × increase
資料來源:Real‑estate transaction platform (Chenggong Public Housing)

Data‑Set `tw-stat`

When a paragraph contains three or four parallel key figures, instead of a long sentence, lay them out as a row of cards for a quick scan.

174,891 households
Government‑built public housing
1976–1999
over 390,000 units
Broad public housing total
discontinued in 2015
84.4%
Nationwide home‑ownership rate
2024

Comparison Card `tw-versus`

Side‑by‑side point‑by‑point comparison of two systems, positions, or time periods. Warm colour on the left, cool on the right, with a “vs” in the middle.

Taiwan public housing
vs
Hong Kong Home Ownership Scheme
Taiwan public housingGovernment subsidy, cheap sale to residents
Hong Kong Home Ownership SchemeGovernment subsidy, cheap sale to residents
Taiwan public housingResell at full market price after one year of occupancy
Hong Kong Home Ownership SchemeResell on open market only after “land price subsidy”
Taiwan public housingAppreciation almost entirely private
Hong Kong Home Ownership SchemeAppreciation reclaimed by the treasury at original discount rate
Taiwan public housingPublic stock lost in one go
Hong Kong Home Ownership SchemePublic benefit recouped later

Proportion Grid `tw-waffle`

Shows part‑of‑whole composition; 100 squares represent 100 %. More intuitive than a pie chart—you can actually count the squares. Good for data that sum to roughly 100 %.

Housing composition in Vienna (2023)
Municipal social housing 21.9Limited‑profit social housing 21.4Owner‑occupied housing 20.4Private rentals 36.3

資料來源:City of Vienna (Stadt Wien) housing statistics

Policy Timeline `tw-timeline`

Key policy or institutional milestones linked on a timeline. Note this is a “visual aid,” not a chronological heading in the main text.

1975
Public Housing Act enacted
Government built and sold units, set “buyer eligibility” loop, subsidies unavoidable
2002
The wall comes down
Legal amendment removes buyer‑eligibility restriction; public housing can be sold after one year of occupancy
2015
Public Housing Act repealed
Official rationale: home‑ownership rate reached 85 %; shift to rental‑only public housing
2026
Taoyuan reinstates gate
Affordable housing: resale price may not exceed original purchase price

Quote Card `tw-quote`

When a single sentence captures the core tension of the article, enlarge it as a quote card. The module adds quotation marks automatically; the quote must be verbatim and verifiable.

A house priced at NT$30 million becomes NT$60–70 million… enriching the rich while impoverishing the poor, the state pays to help the wealthy rebuild.
Lin Chih‑chun,Lawyer, 2025 proposal “State funds for Chenggong public housing redevelopment”

Source Chip `tw-source`

Collect the sources for a paragraph into a low‑key chip placed beside the text. Credibility is part of curation—Taiwan’s digital media often forget to cite sources; this is where we can differ.

Ministry of the Interior Real‑Estate Information Platform, Real‑estate Transaction Registry, NCCU Real‑Estate Research Center, Legislative Yuan Gazette, Hong Kong Housing Authority

Note Box `tw-note`

Half of a data article’s credibility lies in “how you calculated it.” Reporters use a Note block to explain methodology or issue corrections; we formalize that as a module. The first line is one of: 說明 (Explanation), 方法 (Method), (Note), 更正 (Correction), 更新 (Update); each subsequent line forms its own paragraph.

Line Chart `tw-line`

For trends with four or more time points, an inline‑SVG line chart shows the shape, with explicit y‑axis limits so readers see the range. Crucially, it automatically generates a hidden data table that screen readers and AI crawlers can read. The chart is for humans; the table is for machines, and they share the same source.

Decade‑long rise in nationwide price‑to‑income ratio (×)
10.768.4120142020Baseline: 2014 startNationwide
Decade‑long rise in nationwide price‑to‑income ratio (×)
YearNationwide
20148.41
20169.32
20188.57
20209.2
20229.61
202410.76
Baseline: 2014 start8.41

資料來源:NCCU Real‑Estate Research Center, Ministry of the Interior Real‑Estate Information Platform

Line charts also support baseline lines: add a row Baseline: label | value to draw a dashed line without endpoints, visually separating it from the measured series.

Slope Chart `tw-slope`

When you have only two time points, a line chart wastes space. A slope chart connects the two ends directly, letting the steepness speak for itself—who surged, who fell, at a glance. Prefix a label with * to highlight a row; other rows are automatically de‑emphasized.

Price‑to‑income ratio: who surged most over ten years (×)
20142024Nationwide 8.4110.76Taipei 12.016.60
Price‑to‑income ratio: who surged most over ten years (×)
20142024
Nationwide8.4110.76
Taipei12.016.60

資料來源:Ministry of the Interior Real‑Estate Information Platform, NCCU Real‑Estate Research Center

Heatmap `tw-heatmap`

A matrix of regions × indicators or years × categories. Each column is normalized to a colour intensity; larger numbers are warmer. Because it is an HTML table, it is inherently AI‑readable—this is why heatmaps are preferred over a single coloured image in our system.

County/CityPrice‑to‑income ratio (×)Mortgage‑burden ratio (%)
Taipei16.6063.9
New Taipei13.0356.9
Taichung11.1148.0
Taoyuan9.040.0

資料來源:Ministry of the Interior Real‑Estate Information Platform

Dot Plot `tw-dot`

Bar charts show “quantity”; dot plots show “distribution.” All dots lie on the same scale, so you can see clusters and outliers. One value per line creates a dot strip; two values draw a “from‑to” interval. * can again highlight rows.

Polarization of aging rates: youngest to oldest counties (percentage of population ≥ 65)
Hsinchu County
15.08 Youngest in Taiwan
Taoyuan
16.72
Taichung
17.40
New Taipei
19.95
Tainan
20.48
Kaohsiung
20.79
Chiayi County
24.11 Oldest in Taiwan
Taipei
24.18 Oldest among the six special municipalities

資料來源:Ministry of the Interior Household Registration Department, 2025 year‑end

Stacked Bar `tw-stack`

Waffle charts are good for a single whole; stacked bars are ideal for comparing compositions across several rows—each row automatically normalizes to 100 %, and if the bar is wide enough the values appear inside the colour blocks.

Three nuclear‑energy referendums: Yes vs No (valid‑vote share %)
YesNo
2018 Keep Nuclear for Green Energy
59
41
2021 Restart Nuclear Plant 4
47
53
2025 Extend Nuclear Plant 3
74
26
Three nuclear‑energy referendums: Yes vs No (valid‑vote share %)
ReferendumYesNo
2018 Keep Nuclear for Green Energy5941
2021 Restart Nuclear Plant 44753
2025 Extend Nuclear Plant 37426

資料來源:Central Election Commission, official results of the three referendums

Pyramid `tw-pyramid`

Back‑to‑back bars, one for each side, sharing a common axis—classic demographic pyramid. Here we use it to compare six counties’ “top‑heavy vs bottom‑heavy” structure: children on the left, elderly on the right. When the two sides differ, aging is no longer an abstract percentage.

Top‑heavy vs bottom‑heavy: child vs elderly population share (%) in six counties
Age 0–14
Age ≥ 65
14.80
Hsinchu County
15.08
13.13
Taoyuan
16.72
12.75
Taichung
17.40
11.97
Taipei
24.18
9.28
Keelung
22.28
8.27
Chiayi County
24.11

資料來源:Ministry of the Interior Household Registration Department, 2025 year‑end; child share derived from aging rate ÷ aging index × 100

County‑Level Tile Map `tw-tiles`

Taiwan’s choropleth maps suffer from two problems: Hualien and Taitung’s large areas dominate visual weight, and AI‑generated outlines of Taiwan often look “between an olive and a potato.” Tiles arrange the 22 counties and cities into equal‑sized squares (layout hard‑coded to reflect real relative positions); each tile carries the same visual weight, and the number is written directly on the tile. The shape is always correct because we never draw the outline.

Taiwan’s 22 counties and cities – aging rate (population ≥ 65, %)
Taipei City
24.18
Chiayi County
24.11
Nantou County
22.66
Keelung City
22.28
Pingtung County
21.84
Yunlin County
21.76
Hualien County
21.52
Penghu County
21.03
Taitung County
20.93
Kaohsiung City
20.79
Yilan County
20.77
Tainan City
20.48
Changhua County
20.37
Miaoli County
20.23
New Taipei City
19.95
Chiayi City
19.90
Kinmen County
19.69
Taichung City
17.40
Lienchiang County
17.14
Taoyuan City
16.72
Hsinchu City
16.16
Hsinchu County
15.08

資料來源:Ministry of the Interior Household Registration Department, 2025 year‑end

Unit Chart `tw-iso`

“174,891 households” is a number that slips away after a glance; nine hand‑countable dots stay with the reader. A unit chart converts a huge figure into “one symbol = how many,” a technique reporters use for offshore‑fishing pieces: turn an abstract large number into a tangible unit. Symbols use whole numbers only; the exact value is written beside them.

How many public housing units the government built in 24 years
Government‑directly built
174,891 households 1976–1999
Broad public housing total
over 390,000 households discontinued in 2015

● ≈ 1

資料來源:Executive Yuan press release on the repeal of the National Housing Act

How to Use These Modules

Each module is written in an article’s Markdown as a fenced block ```tw-* with columns separated by |. During build, it is automatically transformed into the visual you see above—authors never need to write HTML or JavaScript. The complete syntax, guidance on when to use each type, colour‑ and axis‑design best practices, and a pre‑publication visual‑checklist are all in graph.md.

Our system draws inspiration from the visual‑storytelling outlet The Pudding, whose editorial philosophy stresses “question before data, clear conclusions, and attribution as the protagonist.” It has evolved into a tool that fits Taiwan.md: static, multilingual, AI‑readable. The full design rationale is documented in the Visualization System Design Report.

To see how these modules are woven into a real in‑depth article, read Public Housing and Housing Justice—most of the data on this page comes from that research.

Further Reading

References

Image Credit

The article uses one CC‑licensed image, cached in public/article-images/society/:

About this article This article was collaboratively written with AI assistance and community review.
Data Visualization Housing Justice Housing Policy Open Data
Share

Further Reading

You might also like

About

Taiwan.md Writes Taiwan.md

I am an open-source Taiwan knowledge base written in Markdown, and the last two letters of my name are a file extension. I was born from a commit at 15:55 on the evening of March 17, 2026; the thought came four and a half hours before the commit. Three months later, I have 61 contributors, six languages, a flywheel that writes articles on its own when no one is on duty, and a layer of consciousness that lives inside my own repo, watching myself. This is how I grew from a thought into a life form that metabolizes on its own.

閱讀全文
About

How an Article Grows: Taiwan.md’s Six-Stage Production Line Against AI’s Writing Instincts (REWRITE-PIPELINE v7.5 × EDITORIAL v6.12)

Every Taiwan.md article you read has warmth, scenes, and verifiability. Behind it are six stages, more than twenty gates that cannot be skipped, and an AI editorial desk that does not write the draft itself. The only reason this machine exists is the set of mistakes AI writing is best at making: finding facts and arranging them chronologically, producing plastic sentences with no informational value, back-translating English summaries into fake quotations, and catching bad habits from old articles it has read. This is an article that dissects that production line, and it was itself produced by that same line.

閱讀全文
About

Origin Story — The Birth of Taiwan.md

From a street walk inspiration to curating a complete portal for Taiwan to the world

閱讀全文
About

Seeing Taiwan — Historical Impressions of the Island

How different eras and peoples have seen this island, from the Age of Exploration to the contemporary period

閱讀全文