Changelog

Updates and improvements to gdppercapita.fyi

April 12, 2026

GDP per Citizen

  • New article: GDP per citizen vs GDP per capita — what happens when you divide GDP among citizens only?
  • 102 countries with sourced citizen data from Eurostat, GLMM, UN Demographic Yearbook, and national census data
  • Interactive sortable table and bar chart for the 14 countries with the largest gap
  • Open data: full dataset as JSON
April 12, 2026

SEO Fixes

  • Fixed 190 orphan pages: converted All countries page from JavaScript-rendered to static HTML links
  • Shortened 33 meta descriptions that exceeded 160 characters
  • Lengthened 3 meta descriptions that were too short
  • Fixed schema.org validation errors on Dataset structured data
  • Added Open Graph tags to changelog and reddit pages
  • Added Twitter card tags to countries, country names, changelog, and reddit pages
  • Added missing og:image to countries and country names pages
  • Fixed horizontal scroll overflow on mobile
March 27, 2026

197 Country Pages

  • Added dedicated pages for all 197 countries and territories
  • Each page shows GDP per capita ranking, key stats, and comparison links
  • Country-specific OG images for social sharing
  • Added All countries directory page
  • Improved footer with quick links to top economies
  • Footer template system for easier maintenance
March 27, 2026

Sort Countries

  • Added "Sort by: GDP per capita" option below search
  • Click to toggle between descending and ascending order
  • Sorting applies to country list, selected countries section, chart labels, and legend
March 27, 2026

UI Polish

  • Refined slider colors: softer gray (#b4b9c1), turns green on hover
  • Replaced projections button with compact checkbox toggle
March 27, 2026

Projections Toggle

  • Default view now shows only historical data (1980-2025)
  • Added "+ Projections" button to show IMF forecasts (2026-2030)
  • Button state syncs with slider position
March 27, 2026

Year Range Slider

  • Added dual-handle slider to filter chart by year range (1980-2030)
  • Drag the selected range to move both handles together
  • Click on year labels to edit them directly
  • Country values update dynamically based on selected range end year
  • Shareable URLs with years= parameter (e.g., ?years=1990-2010)
March 22, 2026

France Country Page

  • Added dedicated France country page with key stats and quick comparisons
  • Compare France vs USA, G7, EU27, Eastern Europe, Western Europe
March 22, 2026

Country Groups

  • Added 18 country groups: World, G7, G20, EU27, Euro Area, OECD, BRICS, ASEAN-5, GCC, Nordic, and income groups (World Bank)
  • Groups appear in the country list sorted by GDP per capita alongside individual countries
  • Pre-calculated aggregate GDP per capita using Sum(GDP) / Sum(Population) with 90% population coverage threshold
  • Info icon on chart labels shows group description on hover
  • Added documentation article with methodology and group codes
March 22, 2026

Country Name Standardization

  • Simplified 66 country names for better readability (e.g., "Andorra" instead of "Andorra, Principality of")
  • Dynamic label width based on longest selected country name
  • Added documentation article with full list of changes
  • Added FAQ entry explaining the standardization approach
March 22, 2026

Chart Visual Improvements

  • Smaller data points (3px → 2px) for cleaner visualization
  • Removed white outline from points for a sharper look
  • Lighter crosshair (solid line, subtle gray) that passes behind data points
  • Dotted projection lines instead of dashed
  • Cleaner PNG export (no data points, optimized layout)
March 22, 2026

Mobile Improvements

  • Fixed chart being cut off at 768px width
  • Increased country selector height to show more countries on mobile
  • Hidden table of contents on mobile for articles
  • Reduced X-axis ticks on small screens (4-6 instead of 10)
  • Compact Y-axis format on small screens ($10K instead of $10,000)
  • Reduced margins and label sizes on very small screens (< 350px)
  • Improved label positioning to avoid overlapping with X-axis
  • Better label collision avoidance when labels are pushed to bottom
  • Hidden view counter below 370px to avoid overlap
March 21, 2026

Initial Release

  • Interactive chart with D3.js to compare GDP per capita across countries
  • Data from IMF World Economic Outlook 2026 (197 countries, 1980-2030)
  • Country selector with search and GDP bars (up to 20 countries)
  • Historical data (solid lines) and IMF projections (dashed lines)
  • Export to PNG and JSON
  • Shareable URLs with selected countries
  • View counter
  • FAQ section explaining nominal vs PPP GDP
  • Mobile responsive design
  • Article: Why we built this site with comparison table
  • Article: Why nominal GDP, not PPP
  • Articles with table of contents and sticky navigation