Exploratory Data Analysis with R

Visualizing Sales Data

Learn how to create visualizations of sales data

Course Sections

Visualizing Sales Data

Now that we’ve analyzed our sales data, let’s create some visualizations to better understand the patterns and trends.

13. Visualize total sales per month

Exercise 5.1: Monthly Sales Bar Chart

Let’s create a bar chart showing total sales for each month:

Monthly Sales Bar Chart

14. Visualize total sales per month by region

Exercise 5.2: Monthly Sales by Region

Now, let’s create a faceted bar chart showing total sales for each month, separated by region:

Monthly Sales by Region

15. Visualize total sales per month by ice cream flavor

Exercise 5.3: Monthly Sales by Flavor

Finally, let’s create a stacked bar chart showing total sales for each month, separated by ice cream flavor:

Monthly Sales by Ice Cream Flavor

These visualizations provide a clear picture of our sales trends across different dimensions (time, region, and flavor). In the next section, we’ll dive deeper into the data to calculate and analyze profits.