VizWiz

Launch, grow, and unlock your career in data
Showing posts with label social media. Show all posts

January 19, 2022

Social Connectedness in the United States

No comments

NOTE: The insights you see in this post are based on an article by The Upshot from September 2018. Some of the insights and use cases demonstrated are the same and are shown in Tableau for demonstration purposes.

----------------------------

When I first saw the map that The Upshot created in How Connected Is Your Community to Everywhere Else in America? I was blow away by the simplicity of the map and how easy it is to understand the relationships of people in the United States via their Facebook friendships. The first thing you need to understand is the metric "Social Connectedness Index". You can access the data I used via the same link. 

Here's the formula Facebook uses to calculate the index:

From Facebook:

Social Connectednessi,j measures the relative probability of a Facebook friendship link between a given Facebook user in location i and a user in location j. Put differently, if this measure is twice as large, a Facebook user in i is about twice as likely to be connected with a given Facebook user in j.

In each dataset, we scale the measure to have a fixed maximum value (by dividing the original measure by the maximum and multiplying by 1,000,000,000) and the lowest possible value of 1. We also round the measure to the nearest integer.

I was not able to match the color scale in The Upshot exactly, so instead I used a table calculation that ranks each County in the U.S. compared to the County selected by the user.


Close enough for me! 

The data has columns for the State/County of the user and for State/County of the friend. To ensure that I was only looking at friends for the County selected, I used Parameter Actions to filter the user to the County and State selected. The rank calculation then only uses the SCI for the friends.

Now let's look through some of the use cases as described in The Upshot.


DISTANCE IS MOST IMPORTANT

People are more likely to be friends with people that live nearby. That makes sense. Consider these four counties that I lived in while I lived in the U.S. Clearly relationships on Facebook are more likely with people that lived near me.






STATE LINES ARE BOUNDARIES

In some counties (like the four below, friendships drop significantly outside State borders.




MIGRATION PATTERNS

People from certain areas of the country have migrated to other areas in the country over the course of many decades. We can see these patterns by looking at Chicago and Milwaukee. The southern counties were typically related to the slave trade, and the people in the south gradually migrated north after they were freed.



Migration patterns aren't limited to history. Consider counties in the Northeast. Nearly all of them have a strong relationship with coastal areas in South Carolina and Georgia and all of Florida. These are called snowbirds, people that migrate south for the winter.




PHYSICAL BOUNDARIES

Friendships in some counties are limited by geographical boundaries. For example, friendships for people living in Belmont County, Ohio don't cross the Appalachian Mountains in West Virginia.


While people in Scott County, Arkansas don't have friends on the other side of the Mississippi River.



Have some fun with the interactive version below.

November 10, 2020

How I Use Layout Containers (Part 1) - Social Media KPI Dashboard

No comments
Layout containers are super useful, if you understand the concept for how to use them. In this livestream, I build a simple KPI dashboard of social media metrics.

The dashboard being rebuilt is based on this Excel dashboard - https://exceldashboardschool.com/social-media-dashboard/

I started by building a wireframe to show how I would use each container.



From there, I started constructing the dashboard. If you want to follow along, you can download the data here.

The link to the video below by Curtis Harris was a game changer for me as to how I understood Tiled vs. Floating. I can't recommend it enough. It's a big influence on every dashboard I create.

Resources:

1. Things I Know About Tableau Layout Containers by Curtis Harris - https://youtu.be/L1gC05jyMS8
2. Practice: Workout Wednesday 2018 Week 51 - http://www.workout-wednesday.com/week-51-container-fun/

Click on the image below the video for the interactive version.


November 20, 2017

Makeover Monday: Snapchat is tops with American teens

4 comments
I have three teens, so this week's dataset had me particularly curious. While my daughter prefers Snapchat, my boys prefer Twitter. One big missing piece with this dataset is the lack of demographic information. I'm curious as to how my teens compare to those surveyed.

The original viz comes to us from Business Insider:


What works well?

  • Catchy title that quickly tells the story of the viz
  • Bar charts are simple to understand and they show the pattern well
  • Sorting the apps by the most recent value
  • Including the axis, otherwise we wouldn't know what the labels mean on the top of the bars

What could be improved?

  • The fading colors across the time periods are unnecessary. Include a time axis instead.
  • Change the numbers above each bar to percentages
  • The color legend doesn't match any of the bar charts and should be removed.

My Ideas

I started by looking at slope graph comparing the starting and ending periods.


This tells the story simply, but also doesn't show enough of the change over time. Next, I took the original and turned it into a line chart, labeling only the start and the end and also changing the colors to match the official colors of each app.


I think the line charts help make the change and trends much more obvious than the bar charts in the original. From there, I decided to look at the change since the starting period (spring 2015) to make the growth or decline of each app easier to understand. And with that, here's my Makeover Monday week 47.

September 6, 2015

Dear Data Two | Week 15: Compliments

No comments
Just realized this is my 500th post on this blog.  Feels like quite a milestone for some reason.  Anyway, for Dear Data Two | Week 15: Compliments, like Jeffrey, I looked at my content that people liked across social media platforms (assuming that I can take those like, favorites, reshares as compliments).

March 23, 2015

Makeover Monday: Who’s Really Using Social Media in 2015?

2 comments
Back in January, AdWeek published this infographic with their predictions for growth of various social media platforms in 2015.


Wow! That's quite a bit to digest. So much going on, from the donut/pie charts, to all of the annotations, to the sizing of the pies by overall growth. This infographic has it all.

I recreated the data in Excel, which you can download here, and decided to build a couple of different alternatives because the design choices depend on the question that's trying to be answered. This first version aims to show which social networks are predicted to grow the most in each demographic.


Looking at the data this way, it's clear that Facebook will continue to see the largest growth across all ages. This view also makes the following obvious:

  1. Younger people are using Instagram
  2. Older age groups are using Pinterest
  3. Twitter is a middle of the road platform everywhere, which you could spin as a more diverse audience

The second alternative takes the pie charts and converts them all into more organized bar charts. The question being answered here is how is each app doing?

There's a selector at the top right where you can pick the view you want to see:

  1. The spread of growth across each app separately
  2. The growth estimates for each app


Looking at the data this way allows you to compare within a single app, compare to the total and compare across apps.  Which version do you prefer? What would you do differently?

Download the Tableau workbook here (requires Tableau 9).