I analyzed all of Taylor Swift’s lyrics so you don’t have to.

At the 58th Grammy Awards earlier this year, Taylor Swift became the first woman to win Album of the Year twice for a solo album.

By the numbers, this shouldn’t come as a shock. Swift — an objectively gifted singer, songwriter, and performer — has had a wildly successful career by any metric. That said, if I had to list the top 10 female performers of my lifetime I’m not sure Swift would make the cut. As culture critic Camille Paglia so delicately put it for The Hollywood Reporter, I find her music to be “mainly complaints about boyfriends, faceless louts who blur in her mind as well as ours.”

While the internet is rife with Taylor Swift listicles analyzing the lyrics of her songs, data-driven analysis is scarce (or, more likely, just private). So, in the spirit of collect and verify, I decided to do a textual analysis of TSwift’s work using Word Counter to see just how boy-centric her lyrics actually were.

True to Sands prediction from last class: 80% of my time was spent on data collection, 15% was spent sifting through said data, and I’m wrapping up the remaining 5% now. Using the database AZLyrics,  I combed through the many, many songs of Taylor Swift. To date, she has released five studio albums, two live albums, two video albums, two extended plays (EPs), 37 singles, three featured singles, and eleven promotional singles To keep things simple, I decided to stick with her five studio albums, Taylor Swift (2006), Fearless (2008), Speak Now (2010), Red (2012), and 1989 (2014).

Word Counter is a pretty straightforward tool: it counts the words, bigrams, and trigrams in a plain text document which you can either paste directly into the browser or upload to the site. From there, you can download the single word counts, bigrams (2 contiguous words), and trigrams (3 contiguous words) into .csv format. Between the five albums, I copied in text from 69 songs and then downloaded the data.

Then the process became a bit less straightforward. Comparing single word-counts of individual songs and albums side by side didn’t really give me a ton of useful insight — not to mention, it’s a fairly boring way to see the data. I decided to compare Swift’s two “Albums of the Year” — 1989 (in blue) and Fearless (magenta) — by plugging the songs’ text into Tagul, a very user friendly word cloud art generator.

Combo_TS

Other than showing Ms. Swift is a thematically consistent songwriter, this didn’t give me much to go by. Perhaps, if I compared the two albums’ most frequently used trigrams?

trigrams_new

Aha — now we were getting somewhere. Where Fearless (right) reinforces my earlier criticism, the trigrams from 1989 — namely, the song “Shake it off” -focus more intensely on Swift herself. As she explained to Rolling Stone in 2014: “When you live your life under that kind of scrutiny, you can either let it break you, or you can get really good at dodging punches. And when one lands, you know how to deal with it. And I guess the way that I deal with it is to shake it off.”

Ultimately, my textual investigation should have supplemented a broader investigation which also examined songs Swift wrote vs. co-produced and weighted the popularity of the songs. From the data I did collect, it seems Camilla Pagalia and I should maybe give Swift another chance: the pop star is shifting tone, however incrementally, from the lovestruck ballads of albums past.   

 

What Poverty Steals

I’m fascinated by the tangle of life expectancy, wealth and poverty, income inequality and social mobility.

My data viz was prompted by new research detailing poor people’s shorter life expectancies and The Atlantic article about the 47 percent of cash-strapped Americans who said they couldn’t come up with $400 for an unexpected expense.

Economic stability is about income, but it’s also about assets and wealth. It’s about having a cushion to shield you from the inevitable unexpected expense of car repairs or a medical emergency.

Poor people don’t have that margin of error, which is one of the reasons that economic mobility is so low.  Kids who are born poor in Shelby County (the county that holds Memphis) die poor. Only 2.6 percent of children raised in the bottom quintile of household income in the Memphis area rise to the top quintile by adulthood. According to a New York Times interactive, “Shelby County is very bad for income mobility for children in poor families. It is better than only about 9 percent of counties.”

Since Shelby County is majority black and a disproportionate share of the poor people are black, I wanted to focus specifically on black people. (Hispanics also have an insanely high poverty rate, but there’s relatively few of them in Shelby County/Memphis and most are recent immigrants.)

Here’s what I wanted to determine for people in the county where I live, Shelby County:

If poor people had the same life expectancy of rich people, how much more could they expect to earn over those additional working years? If you add up all those dollars, how many millions of dollars are poor black people in Shelby County forfeiting simply because they’re poor, black and live where they do?

If I could answer this question, I wanted to show the data similar to how Periscopic animated the years lost to gun deaths. http://guns.periscopic.com/?year=2013

periscopic gun deathsSpoiler alert: I don’t have the data to answer the question I was trying to answer. Especially not on the $$ end.

Nevertheless, I did a short video, 1:06. And I figured out how to add music.

I was going to build a little bar chart showing the difference in life expectancy between poor people and rich people in Shelby County – or one comparing the income disparity in life expectancy by the biggest counties in Tennessee, but there wasn’t a whole lot of difference. And I can do a bar chart, so I was trying to figure out what I didn’t know how to do.

*** I’m pretty sure my math is all wrong, because there’s far more than 26,000 black adults in Shelby County who are poor (as defined by living in the bottom quartile of household income). Would love to think through how to answer my question with someone who knows.

Profile (belated) and data story: Sands Fish

I interviewed Sands Fish for our class profiles assignment months ago and decided to try to profile him through the medium in which he is an expert: data visualization. However, I ran into a road block that I wasn’t able to resolve until our data visualization class. So I’m combining two assignments in one and finally presenting my results.

After Sands and I talked, I transcribed 25 minutes of our interview, including even the “um”s and “yeah”s. Then I analyzed the text from several different perspectives, trying to echo Sands’ work with MediaCloud, which crunches massive amounts of data to discover the relationships between words and the people who use them. In our case, I wanted to get a visual representation of the themes and rhythm of our interview.

First, I analyzed the language we each used. Here are the words I used most often:

Screen Shot 2016-04-19 at 10.52.27 PM

And the ones Sands used most often:

Screen Shot 2016-04-19 at 10.53.21 PM

There wasn’t a lot of overlap.

Then I counted the number of words in each uninterrupted chunk of speech and made a spreadsheet recording each of those chunks under our respective names, with the minute timestamp interspersed. For example, here is the first five minutes:

Screen Shot 2016-04-19 at 11.12.56 PM

Here is a streamgraph that shows our individual share of the conversation, and the overall give and take. I used total words per person per minute to produce this graph on raw.densitydesign.org:

Screen Shot 2016-04-19 at 10.56.54 PM

Then I took a more granular look at the first 10 minutes of conversation, using cumulative word count instead of minutes as the x-axis value. That gave me a better sense of the frequency of volleys between us, and the duration of each uninterrupted chunk of speech:

Screen Shot 2016-04-19 at 11.15.35 PM

Here are a few takeaways I gleaned about my interview style by representing the interview visually:

  • I affirm understanding in lazy ways (yeah, OK, mhmm), and I interrupt a lot.
  • It would be better would be to remain silent until the end of my interviewee’s explanation, and then affirm my understanding in a summary that uses key words and phrases that he or she has shared.
  • Overall the share of conversation is roughly appropriate for interviewer and interviewee, though the spike at 22 represents a story I shared that probably didn’t add much to the interview.

The American Community Survey – 3 in 1: explainer, engagement, data story

I have thought about creating a census fan page many times. Looking at data all day makes one appreciate the history, scale, and effort of this massive public endeavor. Not only does the census provide official guidance to the formulation of public funding and policy, it has over the years also ritualistically structured our understanding of our environment. Since 1790, the census evolved not just to adapt to the massive increase in population(from under 4 million to 318 million today) and migration(from 5.1% urban to 81% in 2000), but its format has also changed to reflect our attitudes. In this 3 part(hopefully) assignment/makeup assignments, I focused on explaining and visualizing the American Community Survey(ACS), a newer data offering of the census that is a yearly long form survey for a 1% sample of the population.

Last summer, while interning at a newsroom, I built a twitter bot based on the ACS inspired by how nuanced and evocative the original collected format of the dataset is. Each tweet is a person’s data reconstituted into a mini bio. In the year since, people have retweeted when an entry is absurd or sad, but most often when an entry reminded them of themselves or someone they know. It quickly became clear that narratives are more digestible than data plotted on a map. However, I was at a loss on how to further this line of inquiry to include more data in bigger narratives.

Part of my research is to experiment with ways of making public data accessible so that individuals can make small incremental changes to improve their own environment. Many of these small daily decisions are driven by public data, but making the underlying data public is not always enough. While still plotting data on maps regularly, I started to think about narratives. Can algorithmically constructed narratives and narrative visualizations stand alone as long-form creative nonfiction?

There are so many wonderful public data projects that go the extra step out there. Socialexplorer does a great job of aggregating the data, so does actually ancestry.com. Projects from timeLab show many examples of how census data has been used for a variety of purposes, even entertainment. And just last week, the macroconnections group unveiled a beautiful and massive effort to expose public datasets with datausa.io that takes data all the way into a story presentation.

Constraints are blessings…

It’s fortunate that I work in such a time and environment but also very intimidating. What can I contribute to an already rich body of work where each endeavor normally requires many hours and even months of teamwork, not to mention the variety of skills involved? More selfishly, what can visual artists add to the conversation that is beyond simply dressing up the results? This series of 3 assignments is a start.

1. Explainer – the evolution of the census

Instead of focusing on how the population has changed, here is a visualization of how census questions have changed to reflect the attitudes and needs of the times. Unfortunately this was unfinished and only goes from 1790 to 1840 right now.

 

1790_1840view closeups here – 1790_1840

2. Engagement – how special are you?

I have been procrastinating by spending a lot of time on guessing the correlation. I think that buzzfeed-type quizzes are one of the best data collection tools. Of course there is also this incredible NYT series. People who commented on the census bot often directly address tweets that describe themselves. This is an experiment to get people to learn something about the data by allowing them to place themselves in it.

Screen Shot 2016-04-19 at 9.42.30 PMScreen Shot 2016-04-19 at 9.42.00 PM  This is also still very much in progress: http://jjjiia.github.io/censusquiz/

3. Data Story

To be continued …

Parity Pool

Storytelling with data requires patience, reliable sources, and creativity. I was excited to browse the aggregated data sets on the newly launched DataUSA.io website. I soon found myself lost in statistics about occupations, income distribution, and wage gaps in the United States. Ultimately, I decided to explore educational data provided around Computer Science degrees programs. I wasn’t exactly sure what I would fine, but I new I wanted to look at issues of diversity within the technology sector. Visit http://partnews16-722286.silk.co/ to see what I discovered.

Screenshot 2016-04-19 20.52.53

Visualizing Comments by Gender at the NYT

I recently read Emma Pierson’s study about commenters and gender at the NYT. I thought it was a great piece with compelling data, some of which I tried to pull out in the following infographic.

A few challenges: the program I used didn’t allow me a lot of flexibility in terms of editing the charts, so I had to be creative about which points I chose to pull out of her findings. This visualization also uses word clouds, which some folks find terribly unsophisticated, but I really liked the visual comparison of the types of words that men and women use in comments on the same articles side by side.

Without further ado, here’s the visualization…(unfortunately, I had to paste in a screenshot because the original png file wouldn’t copy into this, so the quality on this version is a little lower than I would have hoped)

comments and gender snip

It’s low cost energy, stupid.

Recently, the Department of Energy announced it will participate in the development of the Plains & Eastern Clean Line Project (Clean Line), a major clean energy infrastructure project which will bring low-cost renewable power to my home state of Arkansas, Tennessee and other markets in the Mid-South and Southeast. The approximately 700-mile, high voltage direct current transmission line and associated facilities has the capacity to deliver 4,000 megawatts (MW) of wind power from the Oklahoma Panhandle region.

The all-Republican Arkansas congressional delegation has already issued a statement against the decision, citing executive overreach. Yet, in a state whose per capita GDP of $40,924 trails well below the US average of $54,307 and where access to inexpensive energy is hard to come by, I thought the case for the project deserved to be made.

For this assignment, I designed the following graphic for the Arkansas Times, the state’s go-to alternative news source.

Clean Line Energy (2)

 

.

Boston’s Urban Orchards

With the weather becoming warmer again, for this week’s assignment I reported on a lighter and sweeter topic: urban orchard’s in the Boston Area.

I was fascinated to learn that there are, in fact, fruit trees and berry bushes around Cambridge, Somerville, Boston, and more that are publicly foragable. This dataset from the city of Boston data portal lists the known plants, and I overlayed it onto a color coded map.

I was unable to get the embed working in wordpress which does not allow for iframes, so here’s the link!

Is San Francisco’s Hot Housing Market Literally On Fire?

This project is a collaboration between David Jimenez, Charles Kaioun, Celeste LeCompte, and Léa Steinacker.

In San Francisco, there is a growing concern about residential fires, which have displaced more than 100 residents from their homes since the beginning of the year. Have there been more big fires? If so, why? We turned to the data to answer the question.

FIRE-in-SFO-draft_3Read on for more background on our analysis.
Continue reading