CHAPTER 8
CHATGPT AND DATA VISUALIZATION
This chapter contains examples of using ChatGPT and GPT-4 to perform data visualization, such as charts and graphs that are based on datasets (e.g., the Titanic dataset). ChatGPT generated all the code samples via the Advanced Data Analysis plugin. ChatGPT also generated some of the accompanying text for the Python-based code samples.
The first part of this chapter describes the process of uploading a dataset in ChatGPT and then providing prompts for tasks such as explaining the features in a given dataset, generating visualizations, and downloading the curated dataset. You will also learn how to prompt ChatGPT to create and train a machine learning model.
The second part of this chapter contains examples ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access