Advancement Tableau User Group 02 Apr 2026
"It's Who You Know": Using Tableau for Relationship Mapping
55 min 9,552 words transcribed
Summary
Host Ron Eisenstein welcomes Andrew Gutierrez, a data scientist in Cleveland Clinic's philanthropy team, vice president of the board of APRA Illinois and a former grant writer, to show how social network analysis can be brought into Tableau for fundraising. Andrew starts with the concepts: nodes (people, households, organizations) and edges (the relationships between them), illustrated with six degrees of Kevin Bacon and a Charlie Chaplin to Timothée Chalamet movie chain, then two measures that matter in advancement: degree centrality, the size of someone's network, and betweenness centrality, the gatekeepers who bridge otherwise separate groups. The relationships that feed a network include family, professional ties, shared board and trustee service, alumni connections and mutual event attendance, and the payoff is learning more about prospects, finding warm pathways to open doors, identifying connectors and uncovering wealth networks rather than just wealthy individuals. Tableau cannot lay out a network graph by itself, so Andrew uses Python's NetworkX library on a synthetic alumni dataset to calculate each node's X and Y coordinates and the centrality measures, writes nodes and edges out as two data sources, and builds the graph in Tableau as a dual-axis chart with Y on the rows twice, one axis drawn as lines for the edges and the other as marks for the nodes, with relationship types on the tooltip. A graph of everyone quickly becomes unreadable, so the advice is to start small: filter by college, giving segment, graduation years or a gift officer's portfolio, or embed the network in a prospecting dashboard's tooltip so a fundraiser never has to leave it. In the Q&A, Andrew recommends the book Data Science for Fundraising by Ashutosh Nandeshwar and Rodger Devine, and Claude Code for help with the coding, and describes the next step as searching the graph itself for strong networks and hidden wealthy communities.
Listen to this TUG
Prefer to listen? This meeting is also an episode of the Tableau TUG recordings podcast.
Key points
- Social network analysis looks at the web of relationships around a person, not the person in isolation: nodes are the people or organizations, edges are the relationships between them.
- Degree centrality measures the size of someone's network; betweenness centrality finds the gatekeepers who connect otherwise separate groups.
- Family ties, professional relationships, shared board service, alumni connections and mutual event attendance are all edges worth collecting.
- A well-connected person is valuable even when not the wealthiest prospect: connectors and gatekeepers open warm pathways to new donors.
- Tableau cannot generate network layouts, so use Python's NetworkX to produce X and Y coordinates for each node, plus the centrality measures.
- Build the graph as a dual axis: X on columns, Y twice on rows, one axis as a line for the edges and one as marks for the nodes.
- A graph of the whole database is unreadable. Start small with filters, or put the network in a tooltip on an existing prospecting dashboard.
- Andrew Gutierrez recommends the book Data Science for Fundraising and Claude Code as starting points.
Jump to a chapter (28)
- 0:00 Welcome and introducing Andrew Gutierrez
- 1:10 Andrew Gutierrez: from grant writer to data scientist
- 4:21 Agenda
- 5:32 The inspiration: event attendance networks
- 6:46 What social network analysis is
- 8:09 Nodes and edges
- 10:16 Connecting Charlie Chaplin to Timothée Chalamet
- 10:45 Degree centrality: who knows everyone
- 13:02 Betweenness centrality: the gatekeepers
- 14:58 Relationship mapping in advancement
- 16:29 The relationships worth collecting
- 19:13 Question: how are the connections created?
- 20:00 Why relationship data matters: connectors and wealth networks
- 23:03 From slides to Tableau
- 23:41 Make Python your friend
- 26:02 A synthetic alumni dataset
- 28:00 NetworkX: nodes, edges and coordinates
- 30:16 What Tableau needs: X, Y and the edges
- 32:39 Building the network graph in Tableau
- 36:07 Relationship types on the tooltip
- 37:15 Why one big network graph doesn't work
- 38:33 Start small: filtering to a manageable network
- 41:55 A network graph inside a prospecting dashboard
- 44:38 Q&A: recalculating graphs on the fly with TabPy
- 46:35 Q&A: how to get started
- 50:27 Where this goes next
- 51:24 Visuals versus spreadsheets
- 53:48 Wrap-up
Transcript
0:00 Ron Eisenstein: Hey, everyone. Uh, welcome, uh, uh, to our Advancement Tableau User Group event. We're delighted for you to join, whether this is your first time, you've been here many times before. All are welcome. Uh, users of Tableau, not users of Tableau, this is a place where we learn from each other, and that's one of the best things about Tableau, is that you never stop learning.
0:25 And that's why I'm so excited to, uh, uh, present, uh, our, uh, our speaker today, Andrew, who will, um, be talking about an, a-a, especially interesting use case for, uh, Tableau, and he's someone I admire in the field. He is, uh, incredibly, uh, bright and a leader, uh, in the APRA community and in the data science community. So it is, um, a real pleasure, um, and an honor for you to be joining us, and, um, thank you so much for that.
1:04 And I will hand it over to you, uh, for your presentation.
1:10 Andrew Gutierrez: Wonderful. Thanks so much, Ron. And, uh, I want to extend my thanks to Ron and Tam, Jessie, and the entire, um, ATUG team for, um, like, giving me the opportunity to, to present to everyone today. Really excited to, to be here.
1:26 And, um, I am a, uh, Tableau, something of a Tableau power user. It, uh… And I've been using Tableau heavily in my work, um, since about as long as I've been in the workforce total. So, uh, I've probably spent more hours with Tableau than I have members of my own family and good friends at this point in my life, uh, which I don't know what that says about me.
1:47 But, uh, again, really glad to be here, uh, and really glad to see, uh, also a couple of Chicago folks representing on the call. So I always like seeing my Illinois community on the call, so thank you guys for joining.
2:00 And, um, I'll jump right in here. So let me start just a, just a little bit about me, you know, just to introduce myself. So, um, again, thanks, Ron, for the very kind words and then the, uh, uh, wonderful introduction. Ron's been a great mentor to me, uh, these last few years and, again, really glad to be here. Um, I've been in the philanthropy field since, uh, 2018, which unfortunately is eight years now.
2:26 It feels like it should be two years ago. But, um, uh, uh, most recently I've been a data scientist with Cleveland Clinic in their philanthropic arm, and I'm also involved in the, the broader fundraising operations and data community. I'm the vice president of the board of, uh, Illinois' APRA chapter.
2:45 Um, great to see a couple APRA Illinois members on the call here.
2:50 Um, I'm a, uh, committee member of the education committee for, uh, the Association of Advancement Services Professionals. Uh, and I'm involved with several other endeavors through the, the, uh, the broader industry as well.
3:02 Um, and you know, we're here today to talk about data. We're here to talk about some data science. We're here to talk about visualization and business intelligence, Tableau.
3:11 But i-it… what's a little ironic is that, uh, I actually started my career as a grant writer. Uh, I was a one-time writing major in college and, um, when I entered into the nonprofit, uh, industry, you know, I thought the best way I'd be able to help would be writing grants, and I landed my first role as a development associate in a two-person, uh, development shop for a small organization.
3:34 Um, and I was writing lots of grants, but in practice I was doing everything including annual giving, events, event fundraising, um, managing the CRM, entering gifts, doing communications, stewardship, even soliciting donors.
3:49 Uh, and so it really kind of set the stage for me, um, you know, once I transitioned to analytics fully in 2020.
3:56 Uh, as I mentioned, I'm currently based in Chicago, but I'm originally from the Cleveland area, and I wear a lot of hats, a lot of hats outside of work as well. If you're in the Chicago area, um, you may have been to one of my spin classes already. I teach spin class at a couple different locations in Chicago.
4:11 You also might find me performing stand-up comedy or outside riding my bike or, or doing any number of things. So thanks again for, uh, welcoming me here.
4:21 And, uh, just a quick agenda of what we're gonna talk about today. Um, the meat of the call is gonna be, um, obviously a Tableau walkthrough. That's, that's obviously the reason why we're here. But to set the stage for that I'll, I'll, I'll talk first about the, um, overview of social network analysis, um, which you may not have heard that term before, but if you talk about relationship mapping in your work, um, that's probably something that you are, uh, familiar with, even if you might not know that term.
4:50 We'll talk about applications of social network analysis within advancement. Again, some of which you folks on the call may be doing already. And then we'll do, uh, a step-by-step walkthrough of how you can implement social network diagrams within Tableau, which is not super intuitive. It's not very straightforward. Um, all these years I've been using Tableau, um, you know, I've never, you know, had the, uh, gumption, you know, if you will, to, you know, embark and, and try to make that happen, uh, until recently.
5:19 So I'll walk through how to do that. And, uh, and we'll end on a couple applications of how you can, you know, implement social network analysis, you know, within Tableau dashboards.
5:30 Sound good?
5:32 And, um, I'll move through this real quick. But yeah, the inspiration behind this, uh, last summer I had the opportunity to write an article for APRA Connections. It was called Don't Overlook Your Organization's Events Data, in which I talked about ways you can u-utilize, you know, information from who's attending your organization's events.
5:52 And one of those use cases was actually linking, uh, event attendees, uh, together and seeing who's attending multiple events together, who's attending salons together, who's attended more than one event to kind of like, you know, create a broader web of, of, uh, of who in your, um, prospect pool who's already engaged in events may also know each other.
6:14 And, um, I had to do a lot of work with kind of building- Diagrams from scratch that you see here.
6:21 And, um, and, uh, that really got my wheels turning about, wow, like this is fun, but wouldn't it be so great if we could do this in Tableau?
6:30 And, uh, kind of just it was turning around in my mind for a while, and then when Tam and Ron, you know, came with the opportunity to present, I thought this would be the perfect opportunity to, uh, you know, uh, finally give this a try. So excited to present the findings here.
6:46 Uh, and let's just get right into it, folks. We-we're gonna talk about social network analysis first, okay?
6:54 So at, at a high level, you know, social network analysis is really about understanding how people or entities, again, might not necessarily be people, um, you know, it might be organizations, uh, it might be events, uh, how any entities are connected to one another. So instead of looking at individuals in isolation, you know, by using social network analysis, you know, we're taking a step back, and we're looking at the web of relationships that an individual is, is part of.
7:22 Has everyone heard of six degrees of Kevin Bacon, right? This is kind of a thing where you, you know, you can trace lots of movie stars back to starring with Kevin Bacon 'cause he's in so many movies. So it's kind of silly, but the principle behind it is social network analysis, right? So, you know, by doing this, you know, we're able to see who knows whom, how are people connected, um, you know, what do those connections actually mean.
7:46 Um, and, uh, you know, it helps us to visualize and analyze those networks, you know, so we can identify things like communities, key connectors, gatekeepers of communities, people who sit at important intersections between groups.
8:01 Um, and, uh, so you may already be connecting the dots as to how this can help you in the advancement and, and fundraising world.
8:10 And, uh, there's two keys to social network analysis. One is called nodes, and the other is called edges. So, uh, nodes are simply the things that we're studying in the network. Okay? That's the, the main entities. It c- again, they could be people.
8:26 In the advancement context, it could be prospects, donors, alumni. It could also be organizations, households, um, accounts, any other number of things.
8:36 So, um, if we're looking at the diagram here, let's imagine each circle is a person. Each of those is a node in our network, right? That's our social network.
8:46 Um, the other part is what's called edges. Edges are what connect those nodes. Uh, they represent the relationships between people. Um, and it could be anything from family ties to, uh, professional connections, folks working together, folks serving on a board together, attending events, attending the same school. You know, the ways that folks are connected and interact with each other, right?
9:10 So we may have Joe Smith here, who is a node in our network. We may have, you know, Bob Johnson, who is another person.
9:19 Um, uh, but then we have an edge between them that shows how they're related. Uh, maybe they're coworkers, maybe they're friends, maybe they're cousins. Who knows? So, so again, once you start looking at people not just individually in a network, um, but as nodes connected through these edges, uh, you can begin to see patterns. You know, who's well-connected, who acts as a bridge between these groups, and where influence or access actually might live in our network.
9:46 And I'm gonna show here, this is something… You know, I, I, I had my little about me slide with all the little things that I do, but another thing that I do is I play lots of, like, little mind games. Like, uh, if anyone does Wordle, I do Wordle every day. Um, GeoGuessr, TimeGuesser, all that stuff. And there's this one I was playing for, like, a month, um, like every day called Connect the Stars, where you pick two kind of random actors or actresses, then you have to connect them in the shortest train with each other, right?
10:16 So here we're connecting Charlie Chaplin and Timothée Chalamet.
10:21 Uh, and I was able to get it in just four movies in between them. Um, I'm sure someone could probably do it even sooner than that. But in this case here, the actors in our web, you've got Charlie Chaplin, Marlon Brando, John Cazale, Christopher Walken, Timothée, Timothée Chalamet. There are nodes in this network, and the edges in this case are the movies that they starred in.
10:42 So just another, uh, another example, if you will.
10:46 There's a couple other concepts behind social network analysis that I want to talk about, and these are gonna seem like maybe a little obtuse. They might seem a little technical. But when we get into how this applies to advancement and fundraising, they're gonna make sense. And again, I think a lot of this is stuff that, um, most of us, many of us on the call, especially those of us who are in prospect research, prospect development, um, you know, we, we probably think about these things already.
11:10 And when we think about our relationship data that we have, you know, um, this is how we envision using it. So there's a couple of kind of statistical figures, um, behind a given social network, like the one you see here, and one of them is called, uh, degree centrality or just degree.
11:28 And, uh, when we're talking about the degree of a node, a network, really what we're, what we're talking about is how big is someone's network, right?
11:36 Like, does everyone know someone maybe in your social circle, maybe in your professional circle? Someone who just is one of those people who just know, it seems like they know everyone. Maybe it's a donor who is really great at connecting with other donors. Maybe it's someone who is great at roping in volunteers.
11:52 Um, these are very often folks who have a high, um, degree centrality, uh, because they have lots of connections, and they have a very strong network.
12:02 Um, again, degree centrality is about volume of connections.
12:06 Um, someone with high degree centrality is gonna be very well connected. Uh, they know a lot of people. They have many relationships.
12:13 Um, in advancement, these could be board members, could be longtime volunteers, highly engaged alumni.
12:20 Um- Doesn't always mean that they have the most influence, but, you know, when you're looking at a social network, it's something that, you know, is usually one of the first things we wanna take a look at.
12:29 So if we take a look at this sample diagram here, you've got Maya in the middle. Maya has six connections in this network, right? You can see she connects to everyone else in the network.
12:38 Um, you know, if you compare it to the next highest, which is Chris, Chris only connects to three other people in the network, right? So Maya's got double the amount of degree centrality that Chris does. So Maya is– you know, has the strongest network out of anyone in this, uh, particular example. So think about the folks in your donor base who are those people, right?
12:58 Whether they're volunteers, trustees, uh, whoever they might be.
13:02 And one more, um, kind of measure of– uh, statistical measure of social networks, uh, that I'll talk about, and again, it's gonna sound a little crazy, but, um, this is probably something that you're– that you've thought about. You just might not know this name. But that measure is called betweenness or betweenness centrality. And when we're asking about, you know, the betweenness of a, of a particular node in a network, really what we're asking is, um, you know, how much of a gatekeeper is this person, right?
13:29 Who are the gatekeepers in our network, right? So, um, when talking about betweenness, we're really asking who acts as a bridge between other people or groups.
13:39 Um, you know, in other words, who connects part of the network that might not otherwise be connected, right? So someone with high betweenness might may not know the most people overall, but they might often sit at a key crossroads in your donor pool. They might be a link from one community to another, uh, one social circle to another.
13:59 Um, and, uh, again, in advancement, you know, often these are the folks who we consider gatekeepers, right? They're our gate into a new community of donors that we haven't tapped into yet.
14:09 Um, they're the people who can help introduce us to someone new, open doors across networks, you know, help, you know, influence, uh, you know, other folks who are also might be wealthy or who we may wanna, you know, get their attention. So, um, betweenness is something that we also may wanna take a look at.
14:25 So again, looking at the same network, the same example, you've got Maya in the middle, who, uh, has the highest degree of betweenness because she, um, is the only way we can get to Robin over here.
14:39 Um, uh, so if Chris wants to get to Robin, you know, he doesn't know Robin directly, he's got to go through Maya, as does Sam, right? Everyone else has at least one degree of connection with someone else in the network. So Maya is a key gatekeeper in this, in this community because, um, she's the gateway to Robin, who might be a million-dollar donor.
14:59 Who knows?
15:02 Uh, so that's really social network analysis in a nutshell. Um, I, I think a lot of times when we talk about this in the context of philanthropy or in advancement, we tend to use the word relationship mapping, right?
15:15 And, um, you know, when we talk about relationship mapping, um, we're not oftentimes thinking about data science. We're not thinking about statistical measures of how many nodes or edges someone has or you know, how many nodes someone's gatekeeping.
15:32 Um, but it's, it's really the same thing. It's just slightly more technical terminology.
15:39 Um, and, uh, when we start applying this to philanthropy, um, it's, uh, you know, it really kind of starts to become clear why this type of analysis is so powerful, and it has to do with the types of information that we often have access to, right? So many of us, especially again, if we're in prospect development, we may have access to vendors. Could be, you know, Wealthi, could be nine ninety information, could be information from LinkedIn, um, could be information from our organization's events team, um, could be any number of things.
16:16 And, um, by harnessing that information, uh, we're able to, um, you know, view the web of how our individuals in our database interact with each other and uncover communities and relationships that we may not have even have known existed.
16:30 Um, so again, types of relationships that are valuable. I'll kind of breeze through this because I think many of us on the call probably are familiar with this already.
16:38 Um, familiar relationships, of course, this is important. There's lots of philanthropic families out there. Things like, uh, knowing who's some- who someone's parents are, who their spouse is, their siblings, extended family connections, um, grandparents, siblings.
16:55 Um, you know, these often represent some of like, the strongest and most trusted relationships in a network.
17:01 If someone, um, uh, has a, you know, kind of older generations of their family who historically are very philanthropic, who are very often giving, then probably comes as no surprise that once the younger generations come of age, once they age into their own wealth, you know, they tend to follow suit. So important to know that. Of course, professional relationships are things like who's working with each other, coworkers, business partners, supervisors, direct reports.
17:28 Um, you know, that's helpful for understanding referrals from corporate giving.
17:32 Um, it also kind of extends to, uh, what I would call shared service, so things like board and trustee memberships.
17:40 Um, you know, many individuals, once they, you know, kind of get to the top of their career ladder, once they get the top rungs, they start popping up on, on boards or as trustees for important, you know, local and national organizations and, um, you know, tend to be, uh, you know, uh, at that point they become, you know, part of more powerful networks.
18:02 So knowing, you know, who's on what boards, who's serving with each other, who might know each other through that is important.
18:08 Alumni data, especially in an advancement context. Um, people who graduated together, live in the same dorms, participate in the same programs, maybe even played on the same college sports teams.
18:19 Uh, they often maintain long-lasting social ties even years later. Helps with, you know, determining, um, affinity, right? Someone who has more connections to fellow classmates is probably gonna have more affinity towards their university, become more likely to give.
18:33 And finally, mutual event attendance. You know, um, we know through, uh, prospect development that one of the biggest indicators of someone, uh, uh, giving to your organization in the future is being engaged through attending events, showing interest in events.
18:48 So seeing that and seeing who shows up to the same salons, receptions, donor experiences, um, even if folks don't know each other well, you know, re- repeated co-attendance can signal emerging relationships.
19:01 Um, so when we bring all these relationship types together, we start to see a much richer picture of how people are connected, and that's the f- uh, the foundation for more strategic, uh, relationship-driven fundraising.
19:13 Ron Eisenstein: Uh, there's a quick-
19:14 Andrew Gutierrez: And-
19:15 Ron Eisenstein: Uh, sorry to interrupt.
19:16 Andrew Gutierrez: Go ahead.
19:16 Ron Eisenstein: There's a question I think maybe is relevant to the, the previous slide, and it comes from Reza, uh, who has a question about, uh, the methodology you used, uh, for kind of creating these connections. So it says, "Tableau feature or AI ML concepts such as classification k NN, some fair- variable you defined such as quote unquote BC?"
19:39 Andrew Gutierrez: Sure. So great ques- question, Reza, and, um, if, if you wouldn't mind, I, I might ask you, um, if, if, if we could hold on for a couple more minutes, I think we're about to dive in that section, and, and, and I think we'll hopefully be able to address your question, you know, during, during the course of, of our next section here. So… And if not, feel free to, you know, ask again, and, and we'll make sure we answer that for you.
20:00 Um, but just to wrap this section up, you know, applications of social network data within, um, advancement, you know, why does any of this actually matter?
20:11 Um, and again, I think a lot of us know this, especially if we've worked in philanthropy a long time, if we are cross-collaborate with our frontline colleagues, prospect research colleagues.
20:22 Um, but to start, relationship data helps us learn more about our prospects beyond what we see in a database. Instead of viewing someone as a single record, we can understand the context they operate in, the people they trust, work with, and show up alongside.
20:35 Uh, this also allows us to leverage relationships to open doors, right? So rather than relying only on cold outreach, um, we can identify what I would call warm pathways, right? You know, someone in our pool who we already have a relationship, who we know has a relationship with someone else we wanna get to know, um, we can leverage that to lead to an introduction or a conversation.
20:57 Um, and downstream from that is, um, something that I see pop up in lots of advancement shops nowadays, which is this effort to identify people in our donor pool or our, you know, uh, engagement, you know, engaged contacts pool, people who are connectors, right? So, um, people who may not be sometimes not even the wealthiest or most obvious prospects, but they are, you know, again, they've got a high level of degree centrality.
21:25 Um, to put it in technical terms, they've got a big network. They're great at, uh, introducing, uh, to folks across colleagues. They might be a gatekeeper. They might, um, you know, have gateways into other communities. So someone who, you know, even if they're not the top donor themselves, may be incredibly well-positioned to make introductions and bring others into the organization.
21:47 And finally, something that I've been really interested in diving into that I'll touch on briefly here is using social network analysis to find, uh, wealth networks, not just wealthy individuals.
21:58 Uh, it's probably not gonna come, come as a surprise to many of us on the call that, um, wealthy individuals tend to very often hang out more often than not with other wealthy individuals, right? They, they go to the same clubs. They run in the same circles. They attend the same events, country clubs, you know, um, you name it. So, um, you know, something that's, uh…
22:23 you know, once we have these networks graphed out is we can look at kind of the, the total wealth that surrounds a network, right? Uh, by looking at how high capacity prospects are connected to one another, we can uncover clusters of influence and opportunity and wealth that might otherwise be invisible if we're just looking at these folks, you know, individually one by one.
22:43 Um, so, uh, hopefully, that kind of paints a picture of why, um, you know, why, uh, this information and, and leveraging this type of information is important. So, uh, I'll stop. Any quick questions on social network analysis before we jump into the, the Tableau piece?
23:04 Looks like we got someone from Nigeria. That's fantastic.
23:08 Someone loves GeoGuessr in the chat. I play GeoGuessr every night, and, uh, I'm kind of uncomfortably good at it now, unfortunately. Let's go ahead and dive right in, folks. So, uh, I'm going to, um, actually come off of my slides here,
23:28 and we are gonna actually do, do some walkthroughs of Tableau here. So, so, you know, how do we, um, you know, set this up in Tableau?
23:38 Well, um,
23:42 what I would say is you're gonna wanna make Python your friend here, okay? Um, there's really not an easy way to do this without Python, um, because we need to, you know, have a way to generate all these nodes and edges and, like, the underlying coordinates behind each network graph, and that's something that Tableau doesn't have latent functionality for.
24:01 Um, and so again, in doing this project, I've kind of uncovered a couple sources that were really helpful for me that I'd be happy to share with you folks, and I'll kind of dive into how, how I'm able to set this up.
24:12 Um, this particular article, uh, Towards Data Science, how to create a network chart in Tableau, has a step-by-step guide to how to create a basic network chart.
24:22 Um, it's got some sample Python code that, uh, was a great jumping off point for me. Uh, it shows you what the output should look like, um, and kind of gives you just a baseline idea, a great jumping off point. I'm gonna put this in the chat here for you.
24:38 Um-
24:41 Another thing that really caught my eye that kind of inspired me to do this project, this was a Tableau, uh, public visual of the day, um, somewhat recently, maybe within the last year or so.
24:53 Uh, this is a, um, relationship of, of human diseases and how they relate to each other and within their separate families and whatnot.
25:01 And, uh, again, great, really pristine example of a social network analysis. Um, you can see, you know, each node is a different disease, and the edges, you know, represent, um, you know, the links to other diseases and other genes.
25:16 Uh, this particular dashboard, you're actually able to make a copy and, like, dig around in the back end and see how it's set up. So this was another great use case.
25:25 I'm gonna put this in the chat here.
25:31 And Jacob, to answer your question, yes, absolutely. So Jacob asks, uh, "Could you… the data prep be done in SQL rather than Python?" And so I'll kind of walk through that here. Um, and I'll note too, when I'm doing this walkthrough, folks, um, uh, just I guess, I guess a couple housekeeping notes. Um, so I, I'm a heavy Tableau user. I actually have my own personal Tableau subscription, with the caveat that it's the free public version, which has the added handicap of you can't connect directly to a SQL database.
26:02 And so for a while I've had to use this intermediary where I bounce stuff directly from the database via Python to an Excel sheet, and then hook it up to a dashboard from there. So a little cumbersome, but that's how I do my personal projects. Um, so just something to have to work around. Um, I've also got a whole, um, kind of synthetic, um, data set that's completely, um, spun up and, and, uh, randomly seeded by, uh, by me.
26:30 That's something that I've kind of slowly put together over time, and it's great for personal projects.
26:35 And, uh, so that's the basis of the data that you'll be seeing.
26:38 Um,
26:42 thanks, David. Appreciate, uh, he says, "There's now a free edition. You can now publish to cloud or server or public. You can connect to SQL." Uh, so Jacob, so, um, to answer your question, you can do a lot of the manipulation within SQL before you bounce it over to Tableau to create the actual network graph, right? So, uh, in this case, I've got a, um, a data set that I'm pulling.
27:07 Uh, it's basically fake alumni for, I'm gonna call it Andrew University, and I've randomly seeded it with relationships, things like everything we've just talked about, boards, trustees, companies, coworkers, family, friends.
27:22 Um, here's kind of a little sneak preview of how that data set looks. So we can see, um, each individual has an ID, a first name and last name and age, a city, state, zip that's been randomly generated. We can see what kind of academic college they went to, their graduation year, kind of a fake lifetime giving. And then we have, for purposes of relationships, we can see the ID that they, um, are related to that corresponds to another individual in the database, and then that type of relationship.
27:53 Um, so in Python, um, I'm going to… I'll give you this in the chat as well.
28:01 Um, you're going to want to take a look at this Python library called NetworkX. I'm gonna put that in the chat here.
28:08 But NetworkX is a Python library specifically for, um, social network analysis and creating network graphs.
28:16 And, um, I won't go line by line on the code here. I'll just kind of walk through, and then I'll show you how it looks in Tableau. But basically by pulling out each pair of ID from our data set and then the related ID that it corresponds to, we're able to populate the nodes of a, um, uh, a network graph, the library that kind of does it for us, and then, uh, it populates the edges as well.
28:43 And I've got some extra code to kind of do things like create, uh, annotations. But here we can see, here's just an example. I, I loaded in maybe about a dozen records just to kind of give you a more manageable idea, but this is a basic network graph created by NetworkX in Python.
28:59 And if I hover over, we should get… I might have to click into it.
29:04 Yep, so should be able to see, um, individuals in the graph.
29:11 Of course, I, I have a super slow laptop, so it makes it a little slow sometimes. We can see, for example, this individual, Kimberly Lucas from Jacksonville, has given a little less than one thousand dollars, from the School of Business, class of '82. We can see they're pretty central to this particular graph, right? They connect with just about everyone.
29:30 There's a couple of disparate nodes that are kind of, you know, maybe being gate kept. This particular individual here would be a, a gatekeeper to these nodes out here.
29:40 Let's see who this is.
29:42 So this is great in Python, but, um, the object is we want to be able to recla- create this in Tableau, right?
29:50 And, uh, another great thing about NetworkX is it'll actually calculate all those measures that, um, uh, that I talked about, so things like degree centrality, betweenness centrality. You don't need, you know, uh, you don't need to calculate those by hand. It'll do it for you.
30:07 And then, you know, um, you know, uh, use that information. We're combining it back into our original data set that we loaded in from SQL.
30:17 And what we need from, um, NetworkX to load into Tableau, um, you'll see all the information here is, you know, the original information that I pulled out of SQL.
30:28 But really all we need from NetworkX is, are these coordinates, right? We need the X and Y coordinates, right? It's a network graph. We're creating a graph that is, you know, we need the coordinates.
30:39 Um, it's almost like latitude and longitude. So for each, um, relationship pair that we are loading into the library- Uh, we need it to basically create the graph and then give us back those coordinates. Those coordinates are ultimately what we need to give back to Tableau. Okay?
30:57 Um, and then we also need to create those edges, right? So the edges come separately. Um, and, and folks, I, um, will be making this code available on my GitHub after the call.
31:07 Um, so, um, a-again, I know I'm moving through this pretty quickly, but I'm, I'm happy to have this as a resource for you.
31:14 Uh, but we also need to take the edges out. Um, and really that's just a separate, um, that's containing the actual type of relationship. So here we just have the source ID, the target ID that corresponds with the original IDs that we fed out of our SQL query.
31:31 Um, and then we have the relationship type and status. Then all I'm doing is just writing that to an Excel sheet, and I will show you how it looks. Here's the format.
31:40 So we've got two separate data sources, right? We've got the nodes, and we've got the edges. Okay? Here's our nodes.
31:47 We've got that ID, the related ID, and the X and the Y.
31:51 Again, it's nice to have the centrality, but, um, you know, for purposes of creating a dashboard, that's kind of extraneous.
31:59 Everything else here is just kinda added on for kinda filling out like a tool tip, for example.
32:04 Um, but really this is the core of what we need right here, and then mashing it up to our edges. Okay?
32:13 That's really all we need.
32:18 And, um, yeah, Jacob, I think, um, I think every part of this except for creating the coordinates on the graph is probably something that could be done in SQL, except for the Python. That's my hunch. I'm sure there's some whiz way that you can do it in SQL, but, uh, the, the library tends to work pretty well.
32:39 And so let's do a quick walkthrough of, of how I set this up. Okay?
32:45 Um, so here's a Tableau dashboard, and we've got a data source, we've got nodes, and we've got edges, and they connect based on the ID goes to the source.
32:56 Let's just go to a blank sheet here. Um, I'll show you how I made one from scratch, and then I'll show you kinda the one that I made, um, well, we'll kinda be creating here.
33:06 But the first thing you wanna do, uh, we have to make our graph, right? So we wanna start with our X coordinates.
33:13 Let's put those in the columns.
33:15 And we don't want it to be a measure. We want it to be a, uh, dimension.
33:22 Not discrete, though, continuous.
33:26 We want a continuous dimension.
33:29 Then we wanna take our Y. We wanna put that on the rows.
33:33 And again, we don't want it to be a measure. We want it to be a dimension.
33:39 And then we're gonna take our Y again. We're actually gonna put it a second time on the rows. Okay? So you can see now, like there's two of them.
33:47 We're gonna do the same thing though. We want it to be a dimension.
33:52 So we should have like, you know, um, basically the same thing twice, right?
33:57 Um, and then what we're gonna do is for either, either one of the Y's, we're gonna take one and kinda keep it as automatic. But the other one, we're actually gonna turn it into a line. Okay?
34:11 And, uh, once we have that,
34:16 then we can go ahead and turn it into a dual axis. Okay? We're gonna combine both axes into one, and like still it doesn't look like, like right or right. We wanna make sure we're synchronizing our axis.
34:28 Um, but then what we also wanna do is let's take our edges. Let's take our relationship type. Let's put on the detail.
34:40 Let's take our IDs here.
34:44 And
34:47 it's not quite looking how I remember, but I'll just show you.
34:50 Of course, now this is different now.
35:01 There we go. Yeah, th-this is what I ended up with here. Okay?
35:05 So we've got our X on top.
35:07 It's a continuous dimension. We've got our Y's, same thing.
35:12 Uh, we've got a dual axis. One of them is going to be a, um,
35:19 uh, a path, a line. The other one is gonna be, you know, a shape or automatic.
35:26 Um, and then that's gonna connect the, the pieces for us. Okay? And, uh, next I'll kinda get into… I've got some applications of this that are on Tableau Public that you'll be able to pull down and really dive into.
35:38 Um, and then once you have that, really then I'll give like kinda the rest of that metadata information.
35:45 Um, you know, things like first name, last name, their lifetime giving, their school, their graduation year. Then you can start filling that in to kinda get a better sense of the network, right? So in this case, we can see each person, we can see their school and when they graduated, and we can see when they, um, um, uh, you know, kinda who else they connect to.
36:08 And what's nice too is that we're taking our relationship type, and we are putting it onto our tool tip for the edges so that if we kinda mouse over, we can see, okay, Nathan Bradshaw is a coworker with Kimberly Lucas at Neutronica, which is a completely fake company that I made up.
36:26 Um, we've got, uh, Renee Bryant and Albert Watson are siblings.
36:32 Um, so it kinda gives you an idea, right?
36:39 And you can see how I put that in on the dashboard here.
36:42 So that's really a walkthrough and, um, of how you can do this. Um, again, you just want those X and Y coordinates, and then you want the dual axis, one with the lines, one with the nodes, um, to kinda create our graph. Okay?
36:57 And I wanna get into next, like a couple applications of this, of how, you know, kind of into existing dashboards that are in production, you can put this into place Uh, so the first thing that probably comes to mind with who's, you know, with your information that you have in your database, you probably have some preexisting relationships already.
37:16 I think the first thing that probably comes to mind is let's take all of our, um, all of our folks and all of our relationships, and let's put everything onto one big dashboard, and it's just all gonna be in there. And it sounds exciting. You know, it's everything we've ever wanted.
37:31 Um, but the problem is, folks, once you get past a certain number of individuals and the relationships start ballooning, it kinda starts to get unwieldy and out of hand, and I'll show you what I mean.
37:44 Here's everyone in my database, um, with all of the relationship linkages, and it kinda looks like, um, not very appetizing, right? So, um, we have to be a little conscientious of, you know, obviously it's great that we can make cool graphs and link everything together, but we also have to be conscious of how can we actually put this information to use in a way that's useful, whether it's being used by researchers, whether it's being used by analytics or gift officers.
38:11 Um, and you know, what I would encourage, you know, if you're looking to kind of build a big network just in your Tableau is to start small. Um, you know, graph, like, little individual networks, right? Or maybe graph a gift officer's portfolio. I'll kind of show you what I mean. I'll go to another version of this that I have that is in my Tableau Public account.
38:34 Uh, social network diagram example, and really we've just taken all of our filters off here, folks. Um, and, uh, by doing that we can kind of start from scratch and then add in the folks that we want.
38:47 Let's go to academic college first. Um, reloading our content. Okay.
38:55 Let's grab, uh, let's grab law school maybe.
39:00 And that's gonna be still a whole lot of folks. Yep.
39:04 So here's all of our law school folks. Um, but then… And what's nice is on the right here I've got our, um, uh, nodes sorted by degree connectiveness, right? So we can see who has the most connections. So we can see Shauna Lewis here, um, is, uh, the person. She's got eleven connections total. So, um, but this is still kind of too much, right? Um, I don't know why it's not letting me.
39:31 What if I zoom out here?
39:35 Uh, so let's say I've got some giving segments, right? So, you know, I've segmented this database into, you know, using RFM scoring into folks who either have no giving, who's already being filtered out, and then low score, medium score, high score. What if we could just go to high score?
39:49 Let's drill down a little bit more.
39:52 You can see we've already kind of shrunk our network.
39:55 Um, so this is something that you might imagine a prospect researcher might do if they're looking to see who's in someone's network, you know, if they're trying to uncover relationships that aren't there.
40:04 Um, let's maybe whittle down the grad year. Let's try like nineteen seventy
40:13 to nineteen seventy-five. Let's go a short window.
40:18 And then we can even go maybe, you know, we could even go down by metro area or maybe we pick, um, you know, maybe we pick a, a specific manager.
40:28 Um, but once we got the g- um, graph into like a manageable place where you can actually kinda see everything, I have a toggle on this one where you can flip the labels on and off. You know, it's probably not gonna come as, as a surprise if you flip the labels on for this.
40:43 Um, it is nice that we have our tool tip though.
40:46 Um, so we can click on any node. We can see some of the underlying information. We can see their giving and their scoring. You know, we can link back to the CRM if there is one.
40:55 Um, but just labeling and seeing who these are without having to hover over is nice. It just gets unwieldy if there's so many people. If I flip on the show labels though, we should be able to see those folks now, right? And so we can see, um, we've got Bruce Smith over here.
41:11 Uh, he is a parent of Yvette Garcia, um, who has a, you know, decently high lifetime giving.
41:20 Um, we've also got Joseph Park, who has given thirteen million, apparently, who's the grandchild. Again, the relationships are randomly generated. It doesn't make sense.
41:30 But, um, you know, gives you an idea of a way to be able to quickly whittle down and take a whole, you know, jungle of, uh, social network data and, you know, quickly whittle down to look at underlying networks if we're trying to prospect for, you know, maybe a law school fiftieth anniversary reunion for high giving folks.
41:56 Um, so that's one example. I wanna show you another example, and then I wanna make sure we have time for questions.
42:01 Um, so this is something that, you know, I think maybe some researchers would be interested in or maybe, you know, I could see maybe a manager coming on to look at, you know, if someone is connected to someone in their portfolio that they don't know about.
42:14 But, um,
42:17 I think in a lot of cases, you know, less is more when it comes to dashboards and, um, it was our very own Ron Eisenstein on the call who said once that, uh, if someone can't get to something on a dashboard in three clicks or less, it's not working right. So I think, you know, having someone look up a prospect in the CRM, then come out here to see the relationships, probably a little too unwieldy for the average everyday front line fundraiser if we're expecting them to use this.
42:42 What we could also do is integrate something like this within an existing, you know, more general prospecting dashboard.
42:48 Uh, so I also have just like a sample alumni prospecting map, again, using the same data.
42:54 Uh, but here we're just overlaying everyone. You can see we have twenty-one thousand alumni in this case, um, going back to nineteen sixty.
43:02 Um, and, uh, it's a lot of individuals and, um, let's do something similar, right? Let's go ahead. Let's maybe drill down a little bit.
43:11 Let's do, um, we tried law school, so maybe we'll try medical school.
43:20 Give us our medical school folks. Let's try, let's drill down on the RFM. Let's make sure we're only looking at high giving potentially.
43:27 And, uh, you can see we've only got a hundred and forty-five people now, so makes it a bit more manageable. Maybe we're looking at individual folks and seeing what we're doing. Something that we can do, um, folks, which I kind of threw it together on the fly here, and it doesn't look super great in this example, but we can actually implement network graphs right into our tool tip, right?
43:48 Tableau does have the ability to, um, embed other dashboard sheets within your tool tip.
43:55 And, um, so you know, if you're just looking for, you know, if someone's a gift officer, they're, they're just prospecting, self-prospecting on a dashboard. They're searching maybe they wanna travel in North Carolina, um, you know, they're not gonna… And they're interested about relationships. "Hey, maybe there's someone in our pool that we already know from them." You know, they're not gonna go onto another dashboard and go through all those steps again, right?
44:17 They're pr- they're probably more likely just not gonna look at it. So but if we can incorporate the same information, um, you know, within an existing dashboard in a one-stop shop, that's gonna make it a lot more valuable and, and make a lot more use out of that information.
44:31 Um, so hopefully that, uh, that gives you an idea of, of how this can be used.
44:38 Um, and with that, um, I'm happy to take any, any questions, folks.
44:46 Oh, yes. Thank you, Reza. Um, that's something I haven't thought of, and I think, um, that's probably a, a pretty smart way to go about it. So, um, seems like this is something that you, uh, might have some, some more experience in it. So that sounds great. One thing that I, I have been interested in looking at is, um, you know, especially with our, um,
45:12 uh, you know, um, with a pros- embedding it within a prospecting dashboard, um, is actually utilizing something like TabPy or an extension, um, that could maybe kind of recalculate some of these graphs on the fly. You can see how some of the formatting is maybe not quite as efficient as it could be, right? Like, the, this graph doesn't need to be so spread out.
45:33 It kind of makes it not look as good. It could be more condensed, but, you know, I'm using just one big data set that has a whole graph of everyone in it. So if, you know, if you mouse over someone's node on the graph, and there's a TabPy calculation on the back end that goes after Python and, uh, runs that graph and then brings it back in, that would take me a little bit longer to set up, but I think that would probably be something that would really be a good use of this as well.
45:58 Um, so definitely would be interested in hearing if, if you've tried anything like that.
46:04 Any other questions on utilizing this information? Would love to hear, um, folks if, kind of what the state is of your relationship data in your, um, shops. You know, are, are you not collecting anything at all? Are you collecting this data, but you just don't quite know what to do with it, or you don't feel like you're using it properly?
46:24 Um, are you… Do you feel like you're really putting it to good work? Um, would love to kind of hear from anyone and, um, happy to talk about any, any more of this that, that I've spoken about as well.
46:35 Ron Eisenstein: Uh, as, uh, people put things into chat, this is, uh, really interesting, and I can't tell you how many times I've heard fundraisers comment and question, uh, "Who knows so and so?" That is probably one of the most frequently asked questions. How do we get to this person?
46:56 And, uh, this really hits it on the head, and I have found, uh, not just the, the use case of Tableau particularly interesting. I have never seen a, a, a relationship map, and I also didn't know, uh, much about social, uh, networks at all. So we get a two for one, uh, with your presentation. And, um, you know, I, I think my, uh, my question is more along the lines of, um, where, where would you wanna go next?
47:28 Like, where, um, what are your… Two questions.
47:32 Andrew Gutierrez: Sure.
47:33 Ron Eisenstein: Um, one is how to start, which you have been very generous and kind with not just presenting, but showing behind the curtains how you're achieving these things. So if you could just touch a little bit more on, like, what's the very first thing I should do if I wanna do this? And then two, where, where do you see yourself going with this?
47:54 Andrew Gutierrez: Sure. Absolutely. It's, um, a couple of things here, I think. You know, fortunately, there are a, um, a, a lot of really great resources out there to help you get started. Um, I'm gonna shout out another one and also give thanks. I don't think either of them were on the call, but a fantastic resource that kind of formed the basis of my knowledge of social network analysis in advancement was, um, I wanna make sure I get the title right here, and then I'll put it in the chat.
48:25 I have it on my Kindle app.
48:28 Um, it is, uh, Data Science for Fundraising. I guess it was a simple title. I thought it was maybe more complicated than that.
48:39 Data Science for Fundraising, um, by two really great professionals in the field, Rodger Devine, who's at, um, uh, I think Pomona College out in California, and, um, Ashutosh, uh, Nandeshwar, who's with CCS Fundraising. Uh, so both really great folks who are super knowledgeable. They basically written the book about how to apply data science in fundraising, and the social network analysis chapter in that is really great.
49:07 That's a great resource. Um, and uh, folks, uh, you know, something to also take advantage of as well is, um, you know, I'm gonna maybe editorialize here a little bit. I think a lot of AI tools are kind of overhyped, but one that really kind of it does work pretty well is Claude Code.
49:26 Um- Kind of the whole practice of writing code and is, you know, in the workforce is you get stuck and then you have to, like, scour, like, all these sites like Stack Overflow or something to find examples of someone who's done something similar that you gotta troubleshoot. Claude Code kind of aggregates all that, and it's really, really great, you know, in a way that stuff like ChatGPT kind of maybe isn't.
49:48 Um, and so, um, uh, Claude Code definitely helped me get a start on, um, you know, how to understand the coding that goes into social network analysis and, um, and all that. Um, so I would definitely recommend starting there. And also, again, I'm happy to share, um, I will put the link to my, uh, Tableau Public site, uh, in the chat. And then, um, also folks, feel free to connect with me on LinkedIn.
50:19 I'd be happy to share with you. I'll be planning on putting all the code behind this project on my, um, GitHub if you'd be interested in that as well.
50:27 Um, and then the second part of your question, Ron, where I see us going with this, I think is, um, really, you know, starting to dive more into, if I can backtrack a little bit, you know, some of these, like, statistical measures behind, um, social network analysis, right? So, like, it's great that to be able to graph all this out and see it and access it really quick, integrate it with our existing dashboards.
50:53 But where I'd really like to go is, you know, being able to actually search on, like, where are the strongest networks within a graph to find, you know, where are the people that we're missing, right? Who are the people that can connect us with someone else? Um, where are the communities that are wealthy that we're not seeing because we're looking at the folks individually?
51:13 So some way to in- incorporate that, I think, is, is where I wanna go next. So thank you.
51:20 Ron Eisenstein: Very cool. Thank you.
51:23 Excellent.
51:24 Uh, oh, interesting comment from Jacob. I, you know, I think, you know, you know, when we talk about Tableau, we often talk about the, the visualizations, and then sometimes people just ultimately want a spreadsheet. I would say probably from my perspective, they're probably both necessary to some extent. Um, but the presentation layer is, uh, I find, uh, particularly necessary when communicating to fundraisers.
51:50 I think, you know, I, I, I think that initial splash is, uh, is significant, and it meaningfully engages fundraisers in the discussion. Uh, when, when, uh, you're framing the conversation, if you have thousands of people to later go through, maybe, maybe I could definitely see that, um, you know, the spreadsheet. And I think that's the, that's the perennial argument for Tableau.
52:18 People wanna get the spreadsheet at the end, and maybe it's sometimes 'cause you're doing other stuff, so it is tied to a specific task. So that's, uh, m- maybe that was directed to Andrew, but that's something that I, I have personally experienced. So I just wanted to… But if you have any thoughts on that too, I mean, like, this is, uh, if, uh, if you have, I would love to hear your thoughts.
52:41 Andrew Gutierrez: Yeah. Yeah. Great question. I think, um, it, uh, and, and thanks, Benjamin, there. Um, I think, um, yeah, it depends what you're looking for, right? I think if you know what you're looking for, you know, if you're, if you've got a certain set of prospects and you have the data in the system, it's, you know, and you kind of know you just need to see it, you know, I, I think it's easy to just bounce a list of that in Excel.
53:08 But if you're looking for, for the exploration, right, filling in those gaps and really being able to connect, like, hey, someone knows this person, and this other person also knows them, so I bet these two people know each other, you know, I, I think the mapping, you know, really helps with that. Um, and just from my personal experience, um, along with being able to automate entering notes into the CRM, I think relation, you know, being able to visualize relationship mapping in this way is one of the things that gift officers have, like, most asked me for, you know, on my stops on my career journey.
53:42 Um, they just, they like the visual, and it just, for a lot of them, it seems to jive with what they need, so.
53:49 Ron Eisenstein: Beautiful. Great answer. Awesome. Great question, too. Um, uh, we have just a couple more minutes. I'm not sure. I think the questions are maybe all out there. Just final call for questions.
54:01 Um, meantime, Andrew, this was, uh, s- uh, fantastic.
54:05 Uh, really, really enjoyed this. This has been enriching, uh, for the community and, you know, I would encourage you to submit this to the Tableau Conference, uh, drive, et cetera. I think this is, this, uh, cuts across, uh, many areas of advancement and analytics and Tableau and visualization and all of the above. Uh, and, and I would, uh, also argue best practices in advancement services and prospect management research, um, and gives people a springboard to develop their own approaches and hopefully, you know, someday contribute as well.
54:42 And so thanks again, uh, for joining us today. Um, it's been a real pleasure and, um, a great opportunity for learning.
54:51 Andrew Gutierrez: Thanks so much, everyone. Take care.
54:54 Ron Eisenstein: All right. Thanks everyone. Bye-bye
Shorts for this TUG
- From grant writer to data scientist
- Six degrees of Kevin Bacon, for fundraisers
- Degree centrality: the person who knows everyone
- Find connectors, not just the wealthiest
- Network graphs in Tableau need Python
- Building a network graph: X once, Y twice
- Why one giant network graph doesn't work
- Put the network graph in the tooltip
- The AI tool that actually helped
- When a map beats a spreadsheet