Show states/provinces/regions for all the countries in the world

When github displays a geojson data, it has a nice map to show the world map with details to the regions within countries. How can I achieve this? So far using geojson data, I can only plot one country specifically. and it is a lot of work to plot one country already.