Skip to main content

Section Generative AI and Data Visualization

Generative AI can be useful when it comes to both creating visualizations of data and describing data visualizations. We are just going to briefly touch on some ways that ChatGPT can be used for these things.

Subsection Using Generative AI to Describe a Data Visualization

Example 3.16.

Choose (or create) a visualization of data that you want to describe.
Use either ChatGPT or Copilot to generate a description of the image. Think about the following questions after generating the description:
  • (Is the image you used misleading in any way?)
  • Is the description accurate?
  • Is there anything notable that the generated description does not mention/include?
  • Does the description make sense?

Subsection Using Generative AI to Create Data Visualizations

The analysis we can do and the visualizations we can create often depend on what version of a particular chatbot we are using. Some won’t do much analysis with the free versions. (ChatGPT currently has Python incorporated into it and can do some of the analysis/creating of visualizations using Python, but the free version is limited in what it will do in one day.)

Example 3.17.

The file below shows the number of Snapchat messages sent per day for a particular user.
Think about what type of chart you would want to use to visualize the data and try to use either ChatGPT or Copilot to create a visualization of the data.

Example 3.18.

Choose a larger dataset that you would like to analyze. Try to use either ChatGPT or Copilot to create a visualization of the data.
Here is a link to some datasets that you could use: https://github.com/probjects/ewf-database