The map below shows the location of every company currently listed in the S&P 500 index, as of March 18th, 2017. Note that some companies have foreign locations as their headquarters, most likely for tax purposes. The pop-up has the name of the company. This data was derived from scraping the wikipedia page of S&P companies with rvest, and then bumping the headquarter address up against the google maps API via ggmap.