Skip to content
Field Guide

Pillar · Development

Is Bangladesh's development gain keeping pace with its region?

Where the peace pillar fights data scarcity, the development pillar has the opposite problem: so many well-populated series that it is easy to build a chart that is technically accurate and rhetorically dishonest. This case is about the choices — baseline, axis, and which “total” you trust.

Step 1 — Rank the region, in one request

The same containment expression from the peace case, re-targeted at a UN geographic region instead of a continent. Note what is different about the result: every value is from the same year.

Human Development Index, Southern Asia

UNDP Human Development Report Office — every country the graph holds inside the Southern Asia region.

Loading…

Source: UN System Data Commons
a UN region, not a continent
curl -s -G \
  'https://unsd-datacommons.gcp.un-icc.cloud/core/api/v2/observation' \
  --data-urlencode 'date=LATEST' \
  --data-urlencode 'variable.dcids=undata/undphdro/HDI_hdi' \
  --data-urlencode \
    'entity.expression=SouthernAsia<-containedInPlace+{typeOf:Country}' \
  --data-urlencode 'select=date'  \
  --data-urlencode 'select=value' \
  --data-urlencode 'select=entity'

Why this one is clean

HDI is a modelled composite published for all countries on one annual cycle, so a LATEST query returns a single uniform year. Compare that with the homicide ranking, built from national administrative reporting, which spanned fifteen different years. The query is identical; the data generation process is not.

Step 2 — The axis decision, made in the open

HDI runs from 0 to 1 and real national values cluster between about 0.4 and 0.8. Plot it from zero and every country looks identical; plot it on a padded window and the differences become visible. Both are defensible — but only if you say which you did.

Maternal mortality ratio

SDG 3.1.1, deaths per 100,000 live births. A magnitude, so this one gets a zero baseline.

Loading…

Read with care. This indicator is only published as a female-disaggregated series — its identifier carries .SEX--F and the bare undata/sdg/SH_STA_MORT returns nothing at all. A reasonable guess at the “total” series would have produced an empty chart and no explanation; this is why the Prompt Lab lists the resolved identifiers rather than just the names.

Source: UN System Data Commons

Access to electricity (% of population)

SDG 7.1.1. A bounded share approaching a ceiling — shown from zero.

Loading…

Source: UN System Data Commons

Individuals using the internet (% of population)

SDG 17.8.1 / ITU. The same units as the panel beside it, so the two are directly comparable.

Loading…

Source: UN System Data Commons

Why these are two charts and not one

Electricity access and internet use are both percentages, so it is tempting to overlay them. Resist plotting two measures of different scale on one plot with two y-axes: the alignment between the two scales is arbitrary, and the chart will invent a relationship that is not in the data. Two panels sharing an axis definition — as here — let the reader make the comparison without being led into one.

Step 3 — The indicator with almost no data

Not every development series is dense. Poverty headcounts depend on household surveys, and surveys are expensive.

Population below the international poverty line (%)

SDG 1.1.1. Four countries, and between two and ten observations each across four decades.

Loading…

Read with care. These lines connect survey years that are up to a decade apart, and the straight segments between them are drawn by the chart, not measured by anyone. South Sudan has two observations in total — 2009 and 2016. A trend line through two points is an illustration, not evidence. Where survey coverage is this thin, the table view is the more honest presentation, and it is one click away on every panel here.

Source: UN System Data Commons

Step 4 — From one indicator to a goal

The platform also exposes the SDG framework itself as a branch of the graph, so you can walk from a goal to its targets to its indicators rather than guessing identifiers.
walk the SDG tree
# the targets under Goal 1
curl -s -G \
  'https://unsd-datacommons.gcp.un-icc.cloud/core/api/v2/node' \
  --data-urlencode 'nodes=undata/g/sdgf/goal-1' \
  --data-urlencode 'property=<-specializationOf'

# then the indicators under a target
curl -s -G \
  'https://unsd-datacommons.gcp.un-icc.cloud/core/api/v2/node' \
  --data-urlencode 'nodes=undata/g/sdgf/target-1-1' \
  --data-urlencode 'property=<-specializationOf'

The hierarchy is four levels deep: goal → target → indicator → the dimension-sliced variants that end in a leaf you can actually fetch. Walking it is the reliable way to answer “what does the UN actually measure for this goal?” — as opposed to what you assumed it measures.

The same traversal works from the agency side: undata/g/who, undata/g/ilo, undata/g/unicef and the rest each open into their own indicator trees. The catalogue lists all sixteen with their live counts.

Compare with the platform's own search ↗

What this case leaves you with

Takeaway

The bare code is not always the total. Maternal mortality only exists as .SEX--F. Always confirm the identifier from a resolver result or a graph walk rather than constructing it from the pattern.

Takeaway

Same query, different data quality. A modelled composite like HDI gives you a uniform year; survey- and administration-based indicators do not. The API cannot tell you which you have — the provenance line under each chart can.

Takeaway

Never two y-axes. If two measures do not share a scale, use two panels or index both to a common base. A dual axis manufactures a correlation.

Takeaway

Sparse series deserve tables. Two observations twelve years apart are not a trend. Offer the table, and let the reader see how much of the line was drawn rather than measured.

↑ ↓ to move · Enter to open · A match inside a video opens the lesson at the moment the words are said.