At the end of the second quarter 2018, the United States' trade deficit increased to its highest level since 2008. This was due to a steady rise in imports that was in turn fueled by strong domestic demand. According to the Bureau of Economic Analysis, U.S. trade deficit reached $50.1 billion in July, up $4.3 billion from $45.7 billion in June. Over the same period, imports increased $1.9 billion to $213.9 billion.

President Donald Trump has called for a reduction in the trade deficit and has consistently pushed for an 'America First' trade policy. His administration's move to impose tariffs on Chinese imports and the subsequent retaliation by the Asian economy has had stock market investors on edge.

Here’s a closer look at the current composition of U.S. imports of goods. All figures based are on U.S. Census Bureau data for 2017.

Computer and electronic products took the top spot in 2017 with $401 billion worth of goods imported. This category includes computer equipment, audio and visual equipment, and semiconductors and other components used to manufacture electronics. These types of goods are the top commodity imported by California, which is no surprise given the tech industry in Silicon Valley. Apple (AAPL) iPhones, for instance, are manufactured in China, as are some Samsung phones and the Amazon (AMZN) Echo. 

Transportation equipment was the second largest commodity imported in the United States in 2017, clocking in at $385 billion. This category of goods includes car brands like Toyota (TM), BMW, and Hyundai, aerospace products and parts from companies like Airbus, and ships and boats manufactured in China.  

Next on the list were chemicals, including fertilizers and pharmaceuticals, industrial and commercial machinery, and oil and gas. 

California is the top state importer of foreign goods. It's followed by Michigan, the auto capital of the United States, where the biggest imports are cars and industrial machinery. Illinois, New York, and New Jersey round out the top five.

And where are all these goods coming from? Unsurprisingly, China leads the list. The manufacturing powerhouse supplied just over 21% of all foreign goods imported by the United States at the end of 2017.  As of the end of July 2018, that number dropped to 20.5%. China is followed by Mexico and Canada, which each account for a little over half the value that China imports. Japan and Germany are next on the list.

Want to learn how to invest?

Get a free 10 week email series that will teach you how to start investing.

Delivered twice a week, straight to your inbox.