Governments have been affected differently by the credit crunch. Public borrowing has been rising in all countries as the crisis has caused the economy to shrink, cutting tax revenues.
But some countries, like the US and the UK, have been more severely affected as they already had large deficits and have had to spend heavily to bail out their banking sector. Other G20 countries have fared better.
Use the map below to see how different countries' budget deficits , surpluses and stimulus plans compare.
You can see the BBC's full coverage of the anniversary of the global financial meltdown