- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Creating Line and Area Visualizations in Kibana 7.6
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.

Lab Info
Table of Contents
-
Challenge
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".
-
Challenge
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".
-
Challenge
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".
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.