Line and area visualizations are so similar in appearance, but each has its own strengths in the types of questions they are used to answer. In this hands-on lab, we will leverage line and area visualizations in Kibana to answer some questions about our data.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create and Save the Sales Velocity over Time Visualization
- Create a new line visualization.
- Calculate the rate of change (derivative) of the total number of
products.price
, label it as " Velocity", and display it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56). - Configure the x-axis as a date histogram of the field
order_date
labelled as "Time" with an automatic interval and no partial buckets. - Add a threshold line at the value "0".
- Save the visualization as "Sales Velocity Over Time".
- Create and Save the Sales over Time Visualization
- Create a new line visualization.
- Calculate the total number of
products.quantity
and label it as "Items". - On a separate y-axis, calculate the total number of
products.price
label it as "Sales", and display it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56). - Configure the x-axis as a date histogram of the field
order_date
labelled as "Time" with an automatic interval and no partial buckets. - Save the visualization as "Sales Over Time".
- Create and Save the Sales by Category over Time Visualization
- Create a new area visualization.
- Calculate the total number of
products.price
, label it as "Sales", and display it as a dollar amount with 2 decimal places (example: 1,234.567 as $1,234.56). - Split the chart on the top 5 of
customer_gender
ordered by the sales in descending order and labelled as "Gender". - Split the series on the top 3 of
category.keyword
ordered by the sales in descending order and labelled as "Category" - Configure the x-axis as a date histogram of the field
order_date
labelled as "Time" with an automatic interval and no partial buckets. - Save the visualization as "Sales by Category Over Time".