Dimension 3.1: Social Statistics
Real data: World Bank, Statistical Performance Indicators, indicator SPI.DIM3.1.INDEX, retrieved 19 November 2026. Values are as published; we only reshaped the file.
What it measures
Average score for Goal 1-6 indicators. The primary data source is the UN SDG database. Whilst this is a database with comprehensive coverage that all countries have signed up to, it is clear that many (particularly developed countries) are not yet submitting their available national data. Scores for these countries are likely to represent an indicator of their willingness to submit national data rather than their performance in calculating the indicators. For OECD countries, we supplement the UN SDG database with comparable data submitted to the OECD following the methodology in Measuring…
Read the full definition
Average score for Goal 1-6 indicators. The primary data source is the UN SDG database. Whilst this is a database with comprehensive coverage that all countries have signed up to, it is clear that many (particularly developed countries) are not yet submitting their available national data. Scores for these countries are likely to represent an indicator of their willingness to submit national data rather than their performance in calculating the indicators. For OECD countries, we supplement the UN SDG database with comparable data submitted to the OECD following the methodology in Measuring Distance to the SDG Targets 2019: An Assessment of Where OECD Countries Stand (https://www.oecd.org/sdd/measuring-distance-to-the-sdg-targets-2019-a8caf3fa-en.htm).
The numbers in 2023
In 2023, 215 countries have a value. The highest is Lithuania (0.94); the lowest is Sint Maarten (Dutch part) (0.0472). The median country value is 0.728.
Top 10 countries, 2023
value
Highest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Lithuania | 0.94 |
| 2 | Thailand | 0.935 |
| 3 | Gambia, The | 0.933 |
| 4 | Mexico | 0.928 |
| 5 | Norway | 0.923 |
| 6 | Peru | 0.918 |
| 7 | Serbia | 0.912 |
| 8 | Honduras | 0.905 |
| 9 | Denmark | 0.899 |
| 10 | Austria | 0.898 |
Lowest, 2023
| # | Country | Value |
|---|---|---|
| 1 | Sint Maarten (Dutch part) | 0.0472 |
| 2 | Isle of Man | 0.0572 |
| 3 | St. Martin (French part) | 0.0638 |
| 4 | Virgin Islands (U.S.) | 0.0738 |
| 5 | Faroe Islands | 0.0805 |
| 6 | Aruba | 0.0872 |
| 7 | Guam | 0.0972 |
| 8 | Greenland | 0.104 |
| 9 | French Polynesia | 0.104 |
| 10 | American Samoa | 0.112 |
How many countries report, by decade
| Decade | Most countries in one year |
|---|---|
| 2000s | 215 |
| 2010s | 215 |
| 2020s | 215 |
First rows
dimension-3-1-social-statistics.csv
| countrytext | iso3text | regiontext | income_grouptext | yearnumber | valuenumber |
|---|---|---|---|---|---|
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2004 | 0.3565 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2005 | 0.3615 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2006 | 0.403833333333333 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2007 | 0.459333333333333 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2008 | 0.459333333333333 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2009 | 0.4395 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2010 | 0.436666666666667 |
| Afghanistan | AFG | Middle East, North Africa, Afghanistan & Pakistan | Low income | 2011 | 0.47 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| country | text | Country or economy, World Bank name |
| iso3 | text | ISO 3166-1 alpha-3 code |
| region | text | World Bank region |
| income_group | text | World Bank income group |
| year | number | Calendar year of the value |
| value | number | Dimension 3.1: Social Statistics, exactly as the World Bank API returns it (not rounded) |
Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.
Practice questions
answers computed from the file
Which country has the highest value in 2023?
Lithuania, with 0.94.
Excel (on the long CSV: E = year, F = value)
=FILTER(A2:A100000,(E2:E100000=2023)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2023)))SQL (table wb = the CSV)
SELECT country, value FROM wb WHERE year = 2023
AND value = (SELECT MAX(value) FROM wb WHERE year = 2023);pandas (df = pd.read_csv("dimension-3-1-social-statistics.csv"))
y = df[df.year == 2023]
y[y.value == y.value.max()][["country", "value"]]File: dimension-3-1-social-statistics.csv
How many countries report a value for 2023?
215 of the 217 economies in the file's country list.
Excel (on the long CSV: E = year, F = value)
=COUNTIF(E2:E100000,2023)SQL (table wb = the CSV)
SELECT COUNT(*) FROM wb WHERE year = 2023;pandas (df = pd.read_csv("dimension-3-1-social-statistics.csv"))
(df.year == 2023).sum()File: dimension-3-1-social-statistics.csv
What is the median across countries in 2023?
0.728 (median of the 215 country values; not a World Bank aggregate).
Excel (on the long CSV: E = year, F = value)
=MEDIAN(FILTER(F2:F100000,E2:E100000=2023))SQL (table wb = the CSV)
-- SQLite has no MEDIAN(); this picks the middle value(s)
SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2023 ORDER BY value
LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2023) % 2
OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2023));pandas (df = pd.read_csv("dimension-3-1-social-statistics.csv"))
df[df.year == 2023]["value"].median()File: dimension-3-1-social-statistics.csv
Which country rose the most between 2013 and 2023?
Lithuania: from 0.516 to 0.94, a rise of 0.424 (out of 215 countries with both years).
Excel (on the long CSV: E = year, F = value)
Use the wide file (dimension-3-1-social-statistics-wide.csv): add a column = [2023] - [2013], then sort it largest to smallest.SQL (table wb = the CSV)
SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
WHERE a.year = 2013 AND b.year = 2023 ORDER BY rise DESC LIMIT 1;pandas (df = pd.read_csv("dimension-3-1-social-statistics.csv"))
w = df.pivot(index="country", columns="year", values="value")
(w[2023] - w[2013]).dropna().nlargest(1)File: dimension-3-1-social-statistics.csv
Which year has the most countries reporting?
2023, with 215 countries.
Excel (on the long CSV: E = year, F = value)
Make a pivot table: year in Rows, Count of value in Values, then sort by the count.SQL (table wb = the CSV)
SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;pandas (df = pd.read_csv("dimension-3-1-social-statistics.csv"))
df.groupby("year").size().sort_values(ascending=False).head(1)File: dimension-3-1-social-statistics.csv