I Used Free ChatGPT To Analyze Survey Data. Here's What I Learned.

1. You collect this type of survey data.

Here’s a familiar scenario. You survey your clients, participants, donors, volunteers, etc. and you include some “Other, please specify” options or other “open-ended” questions to better understand respondents’ opinions, experiences, etc.

2. But you don’t know what to do with it.

You collect your survey data but don’t have the time and/or analytical skills to deal with this qualitative data.* Maybe you create one of those horrible word clouds or, even more likely, you just analyze the quantitative data and ignore the qualitative data.

If you had the time and know-how, you might have “coded” the data in order to analyze it. This involves assigning themes to each open-ended survey response in Excel (or the like) or perhaps using one of these free tools.

*Quantitative data is numerical, countable, or measurable. Qualitative data is interpretation-based, descriptive, and relating to language.

3. But what about AI?

You’ve heard that it’s supposed to make tedious, repetitive tasks much easier, and coding survey responses certainly qualifies as both. Could you use the free version of ChatGPT to get this job done? I shared your curiosity and gave it a try. Bottom line: It helped to identify themes to use as codes but it didn’t do all the work for me. For a little longer description of my experience, keep reading.

4. Prepare for AI.

I watched this YouTube Video based on this article to learn how to craft a prompt that would likely get me what I wanted. I also found free survey data on the City of Chicago Data Portal to use for my experiment. The survey asked 43rd Ward residents about “other priorities” for their ward. I thought I could just upload the CSV data file to Chat, but it turns out you need the paid version for that. So I ended up pasting in the survey answers after entering the prompt. Also note that I used publicly available data. You should think twice about entering any type of sensitive data into Chat.

5. Craft the prompt.

Here it is. Yes, it’s long and yes, I say “please,” although I’m not sure if that affected the results!

6. Here’s what happened.

I first tried pasting in the prompt plus the data but that was too long for Chat. So I had to feed the data (all 23 pages) in batches of about 3 pages at a time and despite entreaties to Chat to update the charts based on ALL of the data I shared so far, it only gave me charts for the last batch I had entered, and I had to combine them in Excel. At first I was impressed with the almost instant tables, but I felt my AI assistant wasn’t quite listening to my instructions or just not understanding them. Still, I did develop this list of themes and Chat did code each survey response according to these themes, but I would not feel comfortable relying on these results and would want to possibly combine some of these themes and read through all the responses to see if I agree with the coding.

To see past data tips, including those about other chart types, scroll down or click HERE.


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Data Viz Inspo

Looking for ways to make your data more engaging? Take inspiration from these data tips on steal-worthy visualizations. Click on the images below to see the whole visualization and get suggestions on what to steal from it.

To see past data tips, including those about other chart types, scroll down or click HERE.


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Why You Should Know About Calendar Heat Maps

Want to see patterns in participation, fundraising, volunteering, or social media measures across an entire year? A calendar heat map might do the trick.

This is a new addition to a series of tips on different chart types. In each tip, l give you need-to-know information in a format akin to the “Drug Facts” on the back of medication boxes: active ingredients (what the chart is), uses (when to use it), and warnings (what to look out for when creating the chart). The idea is to fill up your toolbox with a variety of tools for making sense of data. And the calendar heat map is a simple tool you can put to good use!

Active Ingredients (What is a calendar heat map?)

As in the example above, a calendar heat map shows a measure across days on a calendar. The measure might be the number of participants, dollars raised, volunteers recruited, social media engagement, etc.

Uses

Calendar heat maps provide a great way to see patterns in a measure over time, particularly if month and day of the week are important factors. For example, such a chart can help you detect whether participation is lagging on Mondays during summer months. In the example above, you can scroll over dates for more information and use the program filter to see participation for the selected program. Here are instructions for creating an interactive calendar heat map with Tableau and in Excel.

Warnings

Depending on your needs, other charts that show change over time may be more useful to you. For example, if you need to more clearly see the amount of change over time, a line graph might serve you better. For other chart types that show change over time, see below.

Fun Fact

Here’s a fun calendar heat map showing more/less common birth dates.

Source: Amitabh Chandra on Tableau Public

To see past data tips, including those about other chart types, scroll down or click HERE.

Source: Visual Vocabulary by Andy Kriebel on Tableau Public


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Why You Should Know About Cycle Plots

If you are looking to explore patterns in participation or giving, a cycle plot can get you there.

This is a new addition to a series of tips on different chart types. In each tip, l give you need-to-know information in a format akin to the “Drug Facts” on the back of medication boxes: active ingredients (what the chart is), uses (when to use it), and warnings (what to look out for when creating the chart). The idea is to fill up your toolbox with a variety of tools for making sense of data. To learn about other chart types, check out this index of data tips.

Active Ingredients (What is a cycle plot?)

A cycle plot shows how a trend or cycle changes over time. We can use them to see seasonal patterns. Typically, a cycle plot shows a measure on the Y-axis and then shows a time period (such as months or seasons) along the X-axis. For each time period, there is a trend line across a number of years. In the example below, we see that, on average (black lines show averages across years), there were the most travelers from Greece in August between 2001 and 2011, but we can also see that the number of travelers varied greatly from year to year. Use the filter to see trends for travelers from other countries.

Source: Travellers by Month Cycle Plot by Tai Shi Ling on Tableau Public

Uses

Cycle plots can help identify periods of time when the best or worst results are recorded. For example, you want to see trends in participation in your summer programs or patterns in year-end giving over the years. Cycle plots can be created in a number of data viz applications including Excel and Tableau.

Warnings

The range of years shown in each trendline can be shown on the X-axis or in the subtitle to the the chart, but the range should be clear and consistent across trendlines.

Fun Fact

William S. Cleveland and Irma J. Terpenning introduced the cycle plot in Graphical Methods for Seasonal Adjustment (1982) In their example below, we see that number of telephone installations are highest in late summer/early fall.

To see past data tips, including those about other chart types, scroll down or click HERE.

Title Image Source: Seasonality with Cycle Plots by Vladimir Trkulja on Tableau Public


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Why You Should Know About Beeswarm Charts

If you are looking to compare individuals, programs, locations, events, etc. on one or more measures, a beeswarm chart could be just the ticket.

This is a new addition to a series of tips on different chart types. In each tip, l give you need-to-know information in a format akin to the “Drug Facts” on the back of medication boxes: active ingredients (what the chart is), uses (when to use it), and warnings (what to look out for when creating the chart). The idea is to fill up your toolbox with a variety of tools for making sense of data. To learn about other chart types, check out this index of data tips.

Active Ingredients (What is a beeswarm chart?)

A beeswarm chart (or swarmplot) is a type of data visualization that displays individual data points so that they don't completely overlap, resulting in a "swarming" effect. The beeswarm chart is related to strip plots and jittered strip plots, both of which are scatter plots with a measure on the vertical axis and a category on the horizontal axis. Strip plots become less useful when tightly packed data points start to overlap too much, obscuring patterns in the data. The jitter plot partly solves the problem but not as well as the beeswarm chart.

Uses

Beeswarm charts are useful to highlight individual categories or entities while still showing a distribution as a whole. In the example above, you can see that family events and smaller events were the most highly rated, while health events and larger events generally got lower ratings and that the distribution of average ratings was similar for introduction, beginner, intermediate, and advanced level events.

This type of chart is not native to most data viz applications but happily there is a free online tool called AdvViz that allows you to upload a CSV file to create a basic beeswarm chart and then download it as a Tableau file. From there, you can open it in Tableau Desktop and make adjustments to the formatting. That’s how I created the beeswarm chart above. You can also create this type of chart in Flourish and RAWGraphs.

Warnings

In the example above, I used color to distinguish different event types and circle size to show the number of participants in each event. When using color coding, make sure the colors contrast enough so that viewers can easily discern one category from another. Also, reducing the opacity of the color allows viewers to see overlapping circles. When using size to show a measure, make sure that the range of the measure is wide enough that the viewer can easily discern small from large. Small differences in size can be hard to detect.

Fun Fact

A beeswarm chart is a great way to show stressors on bee colonies! See chart below.


To see past data tips, including those about other chart types, scroll down or click HERE.

Sources: The Data Visualisation Catalogue


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Bar Chart Hack #4: Radial Charts

3.png

Reposted from February 2019

Welcome to Episode 3 of “How to Hack a Bar Chart.” This time we consider two bar chart subspecies that recast the regular bar chart in circular form. They may be eye-catching but be careful how you use them.

1.png

Radial Column Chart: (aka Circular Column Graph or Star Graph). As you can see in the example above, the bars on this chart are plotted on a grid of concentric circles, each representing a value on a scale. Usually, the inner circles represent lower values and values increase as you move outward. Sometimes each bar is further divided using color to show subgroups within each category. Because we are better at assessing length along a common scale, this type of chart isn’t ideal if you want viewers to accurately compare the lengths of each bar. However, these charts are great at showing cyclical patterns. Florence Nightingale used this type of chart (which she called a “polar area chart”) to show a cyclical pattern in the number and causes of death in the Crimean War.

This work is in the public domain in its country of origin and other countries and areas where the copyright term is the author's life plus 70 years or less.

2.png

Radial Bar Chart (aka Circular Bar Chart) is simply a bar chart in which the bars curve around a circle, like runners on a circular track. As you may recall, races on circular or oval running tracks include staggered starting lines so that runners on the outer (longer) tracks run the same distance as those on the inner (shorter) tracks. But the bars on a radial chart have the same starting line making it difficult to compare lengths. So skip the radial bar chart. Not worth the effort.

To see past data tips, click HERE.


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Why You Should Know About Span Charts

Tired of bar and pie charts but not sure what your other options may be? Meet the simple and friendly span chart.

This is a new addition to a series of tips on different chart types. In each tip, l give you need-to-know information in a format akin to the “Drug Facts” on the back of medication boxes: active ingredients (what the chart is), uses (when to use it), and warnings (what to look out for when creating the chart). The idea is to fill up your toolbox with a variety of tools for making sense of data. And the span chart is a simple tool you can put to good use!

Active Ingredients (What is a span chart?)

A span chart shows the range between a minimum value and a maximum value. Check out the example below which displays the salaries of full-time employees of the City of Chicago in various departments. The chart on top shows the range between the lowest and highest salaries in each department, and when you click on a bar, the chart below shows the salaries of individual employees in that department (which you can see by scrolling over the circles). So we can see, for example, that although the public library department has a wide range of salaries, the large majority of employees earn less than $100K per year.

Uses

Span charts provide the extreme values. So if you want your viewer to appreciate the range of values and compare the range of different subgroups, as the example above does, it can be quite effective. In addition to salary ranges, a nonprofit organization might use a span chart to show the range between:

  1. The largest and smallest donation amounts per person by year or by subgroup.

  2. The highest and lowest grade point average of students in a tutoring program by semester or by subgroup.

  3. The most and least days of participation among adults in a job training program by month or by subgroup.

Here are instructions for creating a span chart with Tableau and Excel.

Warnings

Span charts do not show the values in between the minimum and maximum or the average value. So you have no sense of the distribution of data points. Are the values evenly distributed or are most at the high or low end? If understanding the distribution is important, you can pair a span chart with a chart that provides more information on the in-between values, as the example above does. Other chart types which show distribution include: histograms, scatter charts, and box plots.

Fun Fact

Span charts go by a variety of names including range bar/column graph, floating bar graph, difference graph, and high-low graph.

To see past data tips, including those about other chart types, scroll down or click HERE.

Sources: The Data Visualisation Catalogue


Let’s talk about YOUR data!

Got the feeling that you and your colleagues would use your data more effectively if you could see it better? Data Viz for Nonprofits (DVN) can help you get the ball rolling with an interactive data dashboard and beautiful charts, maps, and graphs for your next presentation, report, proposal, or webpage. Through a short-term consultation, we can help you to clarify the questions you want to answer and goals you want to track. DVN then visualizes your data to address those questions and track those goals.


Bar Chart Hack #4: Radial Charts

3.png

Welcome to Episode 3 of “How to Hack a Bar Chart.” This time we consider two bar chart species that recast the regular bar chart in circular form. They may be eye-catching but be careful how you use them.

1.png

Radial Column Chart: (aka Circular Column Graph or Star Graph). As you can see in the example above, the bars on this chart are plotted on a grid of concentric circles, each representing a value on a scale. Usually, the inner circles represent lower values and values increase as you move outward. Sometimes each bar is further divided using color to show subgroups within each category. Because we are better at assessing length along a common scale, this type of chart isn’t ideal if you want viewers to accurately compare the lengths of each bar. However, these charts are great at showing cyclical patterns. Florence Nightingale used this type of chart (which she called a polar area chart) to show a cyclical pattern in the number and causes of death in the Crimean war.

This work is in the public domain in its country of origin and other countries and areas where the copyright term is the author's life plus 70 years or less.


2.png

Radial Bar Chart (aka Circular Bar Chart) is simply a bar chart in which the bars curve around a circle, like runners on a circular track. As you may recall, races on circular or oval running tracks include staggered starting lines so that runners on the outer (longer) tracks run the same distance as those on the inner (shorter) tracks. But the bars on a radial chart have the same starting line making it difficult to compare lengths. So skip the radial bar chart. Not worth the effort.

See other data tips in this series for more information on how to effectively visualize and make good use of your organization's data.