Global GDP by Country
- Rows
- 13,979
- Columns
- 4
- Data range
- 1960-01-01 to 2023-01-01
- Auto-refresh
- Re-checks its source every 30 days
World Bank dataset containing GDP figures for all countries and regions from 1960.
AI analysis
Global GDP by Country — Dataset Analysis
1. Dataset Overview & Value for Correlation Studies This dataset, sourced from the World Bank via [datahub.io](https://datahub.io/core/gdp/r/gdp.csv), represents one of the most foundational macroeconomic time series available — national GDP figures spanning 64 annual periods from 1960 through 2023 across 262 countries and regions. The datahub.io provenance signals a curated, community-maintained mirror of World Bank API data, which lends reasonable confidence in structural consistency, though freshness should be verified against the World Bank's own API for the most recent years. The breadth of temporal and geographic coverage makes this dataset exceptionally well-suited as a baseline economic anchor for cross-domain correlation studies, capable of contextualizing trends in health, trade, education, conflict, climate, and more.
2. Data Quality Observations The dataset presents an impressively clean profile at first pass: zero null cells across all 4 columns and zero type-mismatches reported, which is notable for a 13,979-row longitudinal dataset spanning six decades. No column carries a disproportionate null burden. The duplicate-row count is flagged as pending Phase D recomputation, which warrants a follow-up check — in multi-country time-series data, duplicates often arise from region/aggregate rows (e.g., "World," "OECD members") being included alongside sovereign nations, potentially inflating counts or skewing aggregations. The Value column's 13,903 distinct values out of 13,979 rows (99.5% uniqueness) suggests minimal exact-value repetition, which is expected for continuous GDP figures, and is a positive signal for data integrity.
3. Key Column Distributions The Value column tells a dramatic story of global economic inequality. The mean GDP of ~$1.21 trillion is dwarfed by the median of only ~$16.7 billion — a ratio of roughly 72:1 — revealing extreme right skew confirmed by a skewness coefficient of 8.35. The interquartile range spans from ~$2.2 billion (Q1) to ~$206 billion (Q3), meaning the bulk of country-year observations represent relatively modest economies. The maximum value of ~$105 trillion (likely a global or regional aggregate rather than a single nation's GDP) sits orders of magnitude above typical entries. The 2,311 flagged outliers (~16.5% of rows) are not anomalies in the traditional sense but rather reflect genuinely extreme economies like the US, China, and EU aggregates — these should be retained but segmented carefully in any analysis. The Year column's 64 distinct values and Country Name/Code columns' 262 distinct values confirm a well-structured panel dataset, though the 262 entries likely include non-sovereign aggregates (World Bank regions, income groups) that should be filtered for country-level analyses.
4. Recommended Join Key Columns The optimal join strategy depends on the partner dataset. Country Code (ISO 3-letter) is the most reliable joining key for cross-dataset merges, as it is standardized, non-ambiguous, and immune to spelling variations in country names — it should be the primary join key for any geographic correlation. Year serves as the temporal join key and should always be paired with Country Code for panel-data joins to avoid inadvertent cross-year matching. The combination of (Country Code, Year) forms a composite natural key that uniquely identifies each observation and is the recommended join pair for any longitudinal cross-dataset analysis.
5. Suggested Paired Datasets for Correlation Discovery Several dataset categories would pair powerfully with this GDP data. Human Development Index (HDI) or life expectancy data (UN/WHO) joined on Country Code + Year could reveal whether GDP growth correlates with quality-of-life improvements across income tiers. CO₂ emissions or energy consumption data (IEA, Our World in Data) would enable environmental Kuznets curve analysis. Foreign Direct Investment (FDI) or trade flow datasets (World Bank, WTO) could illuminate economic interdependency. Political stability or governance indices (World Bank Governance Indicators, Freedom House) would support analysis of institutional quality and growth. Finally, population datasets (UN World Population Prospects) would allow derivation of GDP per capita, dramatically improving comparability across countries and unlocking richer distributional insights that raw GDP figures obscure.
Columns
- Year (date)
- Country Name (string)
- Country Code (string)
- Value (decimal)