Charting the GOP’s Congressional Exodus

By Matt Stiles | | Topics: Policy & Politics

Another Republican in the U.S. House — Speaker Paul Ryan, no less — announced his intention not to seek re-election in 2018, adding to the number of members leaving ahead of what’s expected to be an unfavorable mid-term environment for the party.

Even before Ryan’s announcement, HuffPost reported that the number of GOP congressmen leaving the chamber, either for retirement or other offices, has hit numbers not seen in decades. His exit is likely to increase that number soon.

This chart shows how the GOP members’ announcements over this cycle have cumulative outpaced their Democratic counterparts:

And here’s a breakdown of retirements, by party, over the years:

China’s Imbalanced Trade with the United States, in Four Charts

By Matt Stiles | | Topics: Economy & Finance, Policy & Politics

A trade war could be looming between the United States and China, fueled by President Trump’s fixation on the two nations’ unbalanced import-export relationship.

The trade imbalance between the two countries — which might not hurt the United States that much — stems from the fact that China sells more to us than it buys, essentially.

That’s largely driven by macroeconomic factors, not some malicious intent: China is a low-cost manufacturing powerhouse, and the United States is an economy dominated by domestic consumption.

These charts help explain the $570 billion overall trade relationship between world’s largest economies.

First, here’s how the trade has changed over time. The United States imported $460 billion in goods from China last year. That figure has steadily increased in recent decades as China emerged as Asia’s top manufacturer. Exports from the United States to China, which doesn’t yet have the same per-capita domestic consumption as America, haven’t kept pace (again, not that we should be worried).

Here’s the same data, told with a column chart. It shows trade between the two countries in proportion. About 20% of our trade with China last year, and over recent years, has been from exports. Imports represent about 80% of our goods exchanges, on the other hand.

The resulting balance of trade, or trade deficit in this case, has also grown steadily over the years. These charts show the change, year by year, since 1998. Red bars represent the growing trade deficit in billions of dollars by month.

This measure — the trade balance — varies widely by country. One way to examine the relationship with other countries is to look at the balance in the context of the respective total trade. How much does the balance represent as a percentage of overall transactions, for example?

These charts show that figure for America’s top-40 trading partners in 2008. Blue bars reflect a positive trade balance for the United States. Red bars mean it suffered a trade deficit with a particular country in a given year.

When examined this way, you can see that China isn’t the only country in the world to sell more to Americans than it buys. China’s deficit might be huge — its population and output is quite large — but the trade deficit looks similar to other countries figures when viewed proportionally.

Promo background image courtesy Keith Roper.

Chart: Republican Attacks on the FBI Have Worked, Especially on Republicans

By Matt Stiles | | Topics: Policy & Politics

HuffPost is out with an interesting poll about the the public’s trust in the FBI, which has been under attack recently for its role in the investigations of Hillary Clinton and Donald Trump.

Trump and his supporters have been particularly tough on the bureau, and it shows in the polling data.

A slim 51 percent majority of the public say they have at least a fair amount of trust in the FBI, according to a new HuffPost/YouGov poll, down 12 points since 2015. Most of that change comes from Republicans and independents, among whom the percentage saying they trust the agency dropped by 22 points and 15 points, respectively. Allies of the White House have spent much of January ramping up their attacks against the FBI’s Russia investigation.

This chart shows the change:

Chart inspiration via Katie Park. Image courtesy “Brunswyk” via Wikimedia Commons.

Visualizing #NICAR18, Part II

By Matt Stiles | | Topics: Uncategorized

I posted recently about the NICAR journalism conference, held this year in Chicago — and it turns out news nerds like to tweet.

To keep track of all the conference chatter, I dumped each mention of the #NICAR18 hashtag using Python, eventually collecting some 4,100 tweets.

I used #nicar18 several times. Others were even more prolific. Here are those with more than 10 uses during the conference:

Next, I created a histogram with average #nicar18 tweet counts by hour for the three full days: Thursday, Friday and Saturday. It shows when people sent the most tweets — and that they apparently took more breaks during lunch and just before the first afternoon sessions began.

The pattern is also clear here in a more granular view of daily tweet counts by hour:

This tweet volume, which only captures people tweeting with the hashtag, was posted by attendees from across the globe. This year’s conference, as I mentioned in the previous post, had record-breaking attendance: more than 1,200.

Here’s where the attendees came from:

These types of maps are imperfect, of course, especially on mobile. For one, it’s tough to decipher attendance from the Northeast and Mid-Atlantic regions.

Here’s a more focused version (still a little nuclear blasty), if that helps (please note that the scale is different from the map above):

See you next year, NICARians!

Visualizing the News Nerd Conference Known as #NICAR18

By Matt Stiles | | Topics: Uncategorized

I’m in the United States this week to attend the annual news nerd conference known as NICAR, a diverse gathering of reporters, editors and developers (and others) focused on storytelling with data.

I look forward to it like Christmas.

I get to return to the United States, see old friends, learn new skills and drink Diet Coke, which is nearly impossible to find in South Korea, where I work as a foreign correspondent for the Los Angeles Times.

These basic graphics help explain the event, held this year in Chicago.

First, there’s record-breaking attendance* this year:

The event has more than 200 sessions over five days, from the basic use of spreadsheets in news gathering to the construction of complex news applications — and the organizers (who graciously share data about the conference) categorized them by type:

The conference generally has a mix of skills sets and expertise levels, which is evident in the session categories:

There are people here from almost every American state and from numerous countries around the world. My jet lag brain is still working through how to best visualize that, perhaps in a map. I’ll post something soon.

Image courtesy Allen McGregor via Wikipedia Commons.

Jobless Claims at Five-Decade Low

By Matt Stiles | | Topics: Economy & Finance

The number of Americans filing claims for unemployment benefits hasn’t been this low since Richard Nixon was president, according to new data from the U.S. Labor Department.

The figures suggest a tight labor market in which employers are retaining employees because there aren’t as many available qualified workers, Bloomberg reported:

Overall, the employment picture remains solid, with payrolls continuing to increase and the unemployment rate at the lowest since late 2000. Job growth will help sustain consumer spending, the biggest part of the economy.

Here’s a remix of Bloomberg’s chart, which game me an excuse to finally deploy something with “swoopy” annotation (thanks, Adam!):

Image courtesy @bytemarks via Creative Commons.

How China’s Economic Retaliation Hurt the South Korean Tourism Industry

By Matt Stiles | | Topics: Economy & Finance, Social Media

I wrote this week about the one-year anniversary of China’s economic retaliation against South Korea over the THAAD missile system, a defensive weapon designed to stop North Korea’s medium-range missiles.

China objects to it and has been flexing its economic muscle in protest, carrying out an aggressive campaign of economic retaliation that includes sending fewer tourists. In 2017, just over 4 million Chinese visited South Korea, down from roughly 8 million a year earlier after several years of steady growth.

These charts show the effect on the South Korean tourism industry, which has grown to depend heavily on China. This first example helps show China’s increasing share among all tourists who visit South Korea. In 2016, for example, nearly half of all visitors were Chinese — way up from a decade ago:

This chart reflects the annual total visitors by Chinese since 2000. Until last year, annual growth had average nearly 30%, even with the 2015 MERS outbreak in South Korea, which caused hundreds of thousands — likely millions — of Chinese to stay away. You can see how the figure dropped dramatically in 2017:

And, finally, we look at the monthly data, which spikes during peak summer months. The effect of MERS is again evident, as is the significant drop in tourists after the Chinese implemented travel restrictions last March:

Tracking Historical Twitter Followers: @elisewho vs. @stiles

By Matt Stiles | | Topics: Social Media

My wife (@elisewho) and I (@stiles) had a silly social media moment yesterday when I replied to one of her tweets — despite the fact that she was sitting in an adjacent room of our Seoul apartment.

USC professor Robert Hernandez (a.k.a. @webjournalist) captured it:  

The exchange, which we both “liked”, got me thinking (resenting?) about why she is killing me in Twitter followers — even though we’ve been using the service for nearly a decade.

It’s not even close, according to snapshots captured by The Wayback Machine (which didn’t start tracking me until I’d been on Twitter for years):

You can track your own follower counts over time with this tool.

Who’s Competing at Pyeongchang? A Breakdown By Sports, Nations, Genders

By Matt Stiles | | Topics: South Korea, Sports

More than 2,900 athletes from 92 nations and territories are competing in the Winter Olympics in Pyeongchang, South Korea.

The event has 15 different sports (and many events within each). Which sports have the most athletes? Hockey, which requires a 23-person roster, leads the list, followed by largely individual sports, such as alpine and cross-country skiing:

Here’s how those sports break down by the number of competing countries. Again, alpine skiing is a main draw:

Here’s a breakdown of participation in each sport by gender:

And, finally, a look at how each continent is represented proportionally by sport:

Image courtesy South Korean Ministry of Culture, Sports and Tourism

Which Countries Sent the Most Athletes to Pyeongchang?

By Matt Stiles | | Topics: North Korea, South Korea, Sports

Because I live in Seoul and work as a journalist, I’m paying close attention to the Winter Olympics as they open tonight in Pyeongchang, South Korea.

I don’t know much about the Winter Games’ history, so I decided first to research which countries are here. Europe dominates:

Here’s a world map (Russia has many athletes here, but they’re not eligible for medals because of a doping scheme):

And a table, so you can look up specific countries (there are 93 in total).