Winner of the popular vote, computer engineer. Image from Mattel

by George Taniwaki

Every year Mattel introduces several new editions of its ”I can be…” Barbie doll. They include the clothing and accessories necessary for this famous doll to be successful in a particular career. (Me thinks this may have more to do with selling toys than broadening the career sights of little girls, but I digress.) This year, the company decided to let girls vote for their favorite career. The top vote getter would be featured as this fall’s new edition. Mattel heavily promoted the contest on social media sites like Facebook and Twitter. (Not sure how I missed it.)

On Feb 12, at the New York Toy Fair, Mattel announced that the winner of the popular vote for the 125th special edition Barbie was computer engineer. It’s hard to tell from the drawing below, but Barbie is wearing a Bluetooth headset, has a t-shirt with computer code written on it, and has a smartphone strapped on. As my friend Jim Reichle would say, “The heat, the heat.” (It’s an inside joke from Caltech.) But to compensate for that bit of nerdiness, she’s color coordinated with hot pink laptop, glasses, and wristwatch (maybe it’s a revival of a Spot Watch).

You can preorder a computer engineer Barbie from the Mattel web site. I’m sure it will soon become a popular collectible among a certain crowd here in Redmond.

What the girls want—News anchor

I thought it was rather odd that computer engineer would beat out the other careers that Mattel offered girls to choose from: architect, environmentalist, news anchor, and surgeon. I didn’t think many girls consider computer science as an attractive career. After all, it isn’t very popular among women entering college. And it turns out that computer engineer wasn’t the first choice of the girls, news anchor was.

An article in Wall St. J. Apr 9. reveals that a viral campaign started by computer engineers hijacked the voting for Barbie’s new career. Computer engineer Barbie became a cause célèbre among the digerati. For instance, a writer for SQLblog encouraged his followers to vote. The influential GeekGirlCamp ran an appeal asking readers to “Please help us in getting Barbie to get her Geek On!”

In the end, Mattel realized the power of social media cuts both ways and decided to have two winners. News anchor was declared the winner of the girls’ vote while computer engineer was the winner of the popular vote. Mattel will release an anchorwoman Barbie in time for this year’s holiday season.

Winner of the girl’s vote, news anchor. Image from Mattel

What the adults want—Computer engineer

Why did computer engineer Barbie attract so much attention? Well, I think part of it may be the odd sense of duty (or sense of humor) that geeks have toward promoting their culture. (Had I known about this contest, I certainly would have voted for computer engineer.) But part of it may have been to actually raise awareness of computer science as an attractive career for women.

Many formerly male dominated professions such as law, accounting, mathematics, medicine, and biological science are now much more gender balanced, or in some cases becoming female dominated. However, engineering, physical science, and computer science are not.

In fact, the proportion of men in many of these professions never fell below 70% and are actually on the rise again. A Wall St. J. blog post states that the number of women in computer science has been falling while the total number of workers has been growing, causing a steep rise in the male-to-female ratio. (And I don’t think it was caused by girls hearing Barbie say, “Math class is tough.” A study published in Science Jul 2008 shows that the gender gap in math achievement as measured by standardized tests has disappeared. So it is likely something else is causing it. The article points to a problem with standardized tests themselves and the pernicious effect of the No Child Left Behind legislation. But I digress again.)

Most of my own college education and work experience has been in heavily male dominated fields. My freshman year was spent at California Institute of Technology, where in 1977 fewer than 10% of the undergraduates were female. I transferred to the Colorado School of Mines where the proportion of females was about double that. At both schools there were almost no female graduate students or professors. Even after almost 30 years, a Amer. Assoc. Univ. Profes. 2006 report cites Caltech as the doctorate-level school with the lowest proportion of female full professors (14%) in the U.S. The next lowest school? Mines at 16%.

In its first 100 years (from 1874 to 1973), Mines graduated a total of 14 women. The percentage grew quickly thereafter and was still rising while I was attending. But then it stopped. A recent story in Mines Magazine shows that the proportion of women at the school has remain steady for the last twenty years at about 25%. However, the type of student may be changing as women now hold about half of the student leadership positions.

A Mines connection

A professor at Mines, a woman named Tracy Camp, authored a paper in (Comm. ACM Oct 1997) that highlighted the falling enrollment of women in computer science programs and warned of its consequences to the U.S. economy and global competitiveness. She urged action to identify and counteract the forces that were, and still are, leading fewer women to seek degrees in computer science and careers in the IT industry.

I wondered if Dr. Camp was one of the adults who voted for computer engineer Barbie. When asked, she said, “Yes, I voted for the computer engineer Barbie. I also sent an announcement out on my networks, which helped add a lot more votes.” She doesn’t feel bad at all about adults hijacking the vote, “Research has shown that we need to change the image of computing to get more girls interested. Barbie may help.” (One of the great things about writing a blog is that I can send impertinent emails to busy people and they respond, but I digress.)

Wrap-up

So there you have it. Computer engineer Barbie is a child’s toy, a collectible, a role model for career-minded girls, an Internet meme that provides a lesson in how social media is changing marketing, a symbol of U.S. economic competitiveness, and a partial solution to the gender gap in engineering. Who knew?

Figure 1. Country fertility rate by life expectancy. Image by George Taniwaki

by George Taniwaki

Time series data are hard to display in a way that shows other relationships. That’s because one generally uses a static 2-dimensional chart. The x-axis is used to display time, leaving only one other axis to show another variable. The display can be greatly enhanced by using animation. Time can flow while the x and y axes can display relationship data or geographic data. This can aid in understanding how relationships vary over time.

Last week, Google announced the release of Google Public Data Explorer. This web-based data visualization tool (because all Google tools are web-based) takes time series data from public sources and provides a way to create animations. Data Explorer allows you to create line charts, bar charts, maps and scatterplots from web data. It has a pretty clear interface to change the axes. For scatterplots you can also change the color and size of the data points.

Google’s animated trend charts are based on technology called Trendalyzer it acquired in 2006 from Gapminder, a nonprofit foundation in Sweden. I mentioned Gapminder in a 2008 blog post that has been accidentally deleted.

Fertility rate by life expectancy

Figure 1 (at top of this blog entry) is an example scatterplot I created using World Bank data for fertility rate by life expectancy worldwide by country. The data covers 1960 to 2007. First note that in 1960, there was a strong correlation between high fertility rate and low life expectancy. Also note the strong correlation between high income and high life expectancy. Many researchers have shown that women are likely to have more children if they fear that some of the children will not grow to adulthood. Note the one outlier among the high income countries that in 1960 had low life expectancy (54 years) and high fertility (5.7). That country is South Korea. If you play the animation, you can see Korea move down and to the right over time.

I’ve marked a few countries that display unusual behavior over time. China is an interesting outlier because in 1960 it was poor with a low life expectancy, but also with a low fertility rate. But if you play the animation, you see that this may have been a statistical anomaly because in 1962, the fertility rate jumps to 7.5. The fertility rate rapidly falls to under 3 as the one-child policy takes effect and continues to fall below the 2.1 replacement level in the 1990s. Rwanda, Timor-Leste, and Cambodia show short, horrifying drops in both life expectancy and fertility during genocide campaigns. Guinea-Bissau shows large fluctuations in fertility rate without a corresponding change in life expectancy. I can’t explain it. The country is very poor and perhaps its health statistics are unreliable, though this is true for many other countries. Lesotho and Zimbabwe are poor countries with high levels of HIV infection and AIDS that are causing both fertility rates and life expectancy to fall. The AIDS epidemic is taking a toll even on wealthier countries like South Africa.

Population by income

Figure 2 shows a scatterplot I created showing population by income in the U.S. by state. I would have liked to have shown income by education, city/rural ratio, or some other correlated variable, but no such variable was available in the dataset. I use log scale for population since there is such a large range in state size. I also use a log range for income because the data is not adjusted for inflation and I want the data range to show the change in income dispersion over time.

Figure 2. State population by income. Image by George Taniwaki

One of the most surprising things about the chart is that over the 40 years the rankings of state incomes doesn’t vary much. In 1969 the poorest state was Mississippi, and all the poorest states were in the southeast census region. If you play the animation, you’ll see some horizontal reordering, but not much. Even fast growing states like Nevada and Arizona don’t change order. They shoot up, but their income ranking doesn’t move much. Same with states with falling populations like Michigan and Ohio. The only exceptions are small states and districts like Hawaii, Alaska, and Washington DC. They zip around like flies. And maybe that explains why the data doesn’t move much. State level data is too coarse and it would be better to see data for the 100 largest cities or some other finer geographic region.

Maps using FlowingData

About a year ago, my friend Steve Duenser pointed me to a couple of nice animations by FlowingData that shows the growth of Target and Wal-Mart. The animations use Modest Maps, a Flash-based mapping tool.

By an odd coincidence, the three biggest discount store chains, Wal-Mart, Target, and Kmart, all started in 1962 which makes a time series comparison of store openings easier. Target is headquartered in Minneapolis and slowly began to expand throughout the U.S., jumping to large metropolitan areas. Wal-Mart grew much more quickly, but was invisible to most people because it concentrated on rural areas near its headquarters in Bentonville. It blanketed the southeastern U.S. before its steady expansion to the rest of the country. The videos showing geographic distribution make the different growth strategies more easy to observe than a tabular list would. It would be even more obvious if the two animations were combined to show overlays.

Figure 3a and 3b. Target vs Wal-Mart. Images from FlowingData

Twitter firehose

Finally, my friend Carol Borthwick pointed out an interesting way of visualizing Twitter feeds across both time and space. An interactive map was shown in The New York Times after the Super Bowl last year. It’s a fun chart and makes you realize that there’s a lot of data on the web that’s just waiting to be mined. Unfortunately, there is no story indicating how the data was collected and organized, what tools were used, or how you can make your own Twitter charts.

Figure 4. Map of Popular Twitter comments in real-time. Image from New York Times

* * * *

[Update: I added a paragraph stating that Google’s animated trend charts are based on technology it acquired from Gapminder.]