The direct answer
Use urban population share and its complement, 100 − urban share, as two components of one whole. Do not stack total population beside urban population: the urban count is already part of the total.
Prepare the observation table
Take 2023 urban_pct for each country and calculate rural_pct = 100 − urban_pct. Import the prepared wide table, choose Stacked bar, map country to X and both percentage columns to Y. Their sum is already 100, so no additional normalization is required.
Public dataset and a reproducible example
The download is a prepared extract, not a live data connection. The source links below include the original query, observation period and reuse policy. Keep an original copy when you update the data; revised source values can change the result.
World Bank WDI values retain the indicator units and country-year definitions. Derived counts and indexes are Datamon tutorial calculations, not new official World Bank statistics.
Snapshot retrieved: 2026-10-26. Prepared rows: 10.
Download the prepared CSVDownload the reference SVG
| country | urban_pct | rural_pct |
|---|---|---|
| China | 65.5301448035523 | 34.469855196447696 |
| Germany | 81.9034366692129 | 18.096563330787102 |
| Indonesia | 58.1179353397878 | 41.8820646602122 |
| India | 35.0676918424186 | 64.9323081575814 |
| Japan | 92.0826903891473 | 7.917309610852698 |
Build it in Datamon
Sign in with Google to create an editable visualization. Public articles and examples can be read without an account. The prepared CSV already contains the joins, filters or aggregations described above; do those steps in a spreadsheet first when using your own data.
- Open Data and choose a file, or paste the table with its header row. Check the detected numeric columns, decimal separator and dates. The current importer accepts files below 20 MB; these examples are smaller. Keep blanks distinct from recorded zeros.
- In Visualize, select Stacked bar. Connect the roles exactly as listed below. Review the preview against at least two rows in the example table rather than relying only on automatic mapping.
- In Refine, add a title that states the question, the unit, observation period and source. Check labels and contrast at the size your reader will see. Keep a table when exact values matter.
- Use the export controls for SVG, PNG, PDF or PowerPoint, then inspect the actual file. Save an editable project backup. Publish only after checking the underlying values: a public link makes the published data available to anyone possessing the URL.
Calculation and column mapping
The rule below is pseudocode. The downloadable CSV already contains the prepared values; spreadsheet functions and cell references depend on your sheet layout.
rural_pct = 100 - urban_pct; each row sums to 100- X
- country
- Y
- urban_pct, rural_pct
Read the result
In this extract, urban_pct ranges from 35.07 (India) to 100 (Singapore).
Use the preview to check the structure and the CSV to check exact values. Its styling is a reference; your Datamon rendering can look different. Follow the mapping and preparation above to reproduce the analytical meaning.
Mistakes that change the meaning
National definitions of urban areas can differ. This visualization compares the published indicator, not a harmonized density classification. A greater urban share also does not imply a larger urban population without considering total population.
Questions before sharing
Do these calculations require an AI service?
No. The prepared CSV and reference calculation are deterministic. Optional AI can help draft an explanation when configured, but it does not replace checking source values or choosing a valid comparison.
Can I use this example with my own spreadsheet?
Yes. Keep the same observation unit, column types and calculation. Replace the source attribution and time period, recompute derived columns, then compare several output values with your original sheet before sharing.
What is free and what needs an account?
Reading this guide and downloading its CSV and chart images are free. Datamon currently has no paid checkout or subscription plans in this deployment. Creating and saving an editable visualization requires Google sign-in. Provider-backed AI, cloud analysis, publishing and video depend on configured services; this guide does not promise unlimited free connected services.
Sources and further reading
Report a correction or an access barrier: Email the editorial contact.
Open Datamon