Problem
Suppose you have a dataset of online sales transactions that consists of the following variables and their respective data types:
Variable
|
Data type
|
Account number
|
Numeric
|
Name of customer
|
Text
|
Age of customer
|
Numeric
|
Date of transaction
|
Numeric
|
Sales amount
|
Numeric
|
Product type
|
Text
|
There are only four possible values of product type: 'business', 'home', 'leisure' and 'lifestyle'.
Describe the most appropriate visualization that would be used to demonstrate each of the following:
• The trend in total sales revenue over time
• The relationship between sales amount and age
• The relationship between sales amount, age, and product type