Nick Twum.
All projects
JavaSwingMongoDBJFreeChartData

WorldBank Data Visualizer

A desktop app that visualizes World Bank economic indicators - GDP, population, inflation, exports, and health metrics - with JFreeChart charts and automatic country detection via IP geolocation.

FijiTanzaniaW. SaharaCanadaUnited States of AmericaKazakhstanUzbekistanPapua New GuineaIndonesiaArgentinaChileDem. Rep. CongoSomaliaKenyaSudanChadHaitiDominican Rep.RussiaBahamasFalkland Is.NorwayGreenlandFr. S. Antarctic LandsTimor-LesteSouth AfricaLesothoMexicoUruguayBrazilBoliviaPeruColombiaPanamaCosta RicaNicaraguaHondurasEl SalvadorGuatemalaBelizeVenezuelaGuyanaSurinameFranceEcuadorPuerto RicoJamaicaCubaZimbabweBotswanaNamibiaSenegalMaliMauritaniaBeninNigerNigeriaCameroonTogoGhanaCôte d'IvoireGuineaGuinea-BissauLiberiaSierra LeoneBurkina FasoCentral African Rep.CongoGabonEq. GuineaZambiaMalawiMozambiqueeSwatiniAngolaBurundiIsraelLebanonMadagascarPalestineGambiaTunisiaAlgeriaJordanUnited Arab EmiratesQatarKuwaitIraqOmanVanuatuCambodiaThailandLaosMyanmarVietnamNorth KoreaSouth KoreaMongoliaIndiaBangladeshBhutanNepalPakistanAfghanistanTajikistanKyrgyzstanTurkmenistanIranSyriaArmeniaSwedenBelarusUkrainePolandAustriaHungaryMoldovaRomaniaLithuaniaLatviaEstoniaGermanyBulgariaGreeceTurkeyAlbaniaCroatiaSwitzerlandLuxembourgBelgiumNetherlandsPortugalSpainIrelandNew CaledoniaSolomon Is.New ZealandAustraliaSri LankaChinaTaiwanItalyDenmarkUnited KingdomIcelandAzerbaijanGeorgiaPhilippinesMalaysiaBruneiSloveniaFinlandSlovakiaCzechiaEritreaJapanParaguayYemenSaudi ArabiaCyprusMoroccoEgyptLibyaEthiopiaDjiboutiUgandaRwandaBosnia and Herz.MacedoniaSerbiaMontenegroTrinidad and TobagoS. Sudan

click a country

WorldBank Data Visualizer is a desktop application that turns World Bank economic indicators into interactive charts. It auto-detects your country the moment it opens and surfaces its numbers first, then lets you browse any other country's data.

What it does

  • Auto-detects your country using MaxMind GeoLite2 IP geolocation
  • Queries a local MongoDB database for country-specific indicator data
  • Renders interactive bar charts and time-series with JFreeChart
  • Custom-styled Swing UI components throughout
  • Fires system tray "Did you know?" fact notifications

How it works

When the app starts, it resolves your IP against the GeoLite2 City database and pulls that country's indicators from a MongoDB instance running on localhost:27017 (database WorldBank). Charts update as you switch countries or indicators, and a fact generator keeps the tray informed between sessions.

Tech highlights

  • Java + Swing with fully custom-styled components
  • MongoDB for country-specific economic data
  • JFreeChart bar and time-series charts
  • MaxMind GeoLite2 for IP-based country detection

The interactive map below is a live browser demo of the same World Bank dataset.