Module 4 - Practice - Data Visualization

Back to the course outline

Exercise 1:

From the datasets folder, load the "dvddata.xlsx" file as a dataframe. Then rename the following columns (new column name is in parentheses):

  • # of Clients (Clients)

  • Visits to each Client per Month (Visits)

  • Calls to each Client per month (Calls)

  • Emails to each Client per month (Emails)

  • # of businesses in district (Business)

Exercise 2:

Using the dataframe from the previous exercise, use the Seaborn library to create a scatterplot of the number of clients compared to the sales.

Exercise 3:

Using the dataframe in the previous exercise, use the Seaborn library to make a boxplot of the Clients, Visits, Calls, and Emails columns. (Hint: Make a dataframe that only contains those columns)

Exercise 4:

Using the dataframe from Exercise 3, use the Seaborn library to make a violin plot of sales per region.

Exercise 5:

Using the dataframe in the previous exercise, create a swarm plot of sales per region.

Exercise 6:

Using the dataframe in the previous exercise, make a correlation heatmap.

Exercise 7:

Using the dataframe in the previous exercise, make a bar chart (count plot) of the regions.

Bonus

Feel free to explore any other data visualizations using the Seaborn library.

Back to the course outline