21 Questions
What is the purpose of cohorting based on the first month that a customer has placed an order?
To group customers by the month they made their first purchase
In creating a heatmap chart, what does the x-axis represent?
Product category
What does the SQL query 'SELECT product_category, COUNT(*) AS sales FROM orders GROUP BY product_category ORDER BY sales DESC;' do?
Returns the product category and the number of sales for each category
How is the cohort chart different from the heatmap chart?
It represents customer segments over time rather than product categories
What information does the SQL query 'SELECT cohort_date, customer_segment, COUNT(*) AS active_users FROM users GROUP BY cohort_date, customer_segment ORDER BY cohort_date;' provide?
Active users in each cohort date and their segment
What does each line on a cohort chart represent?
Number of active users for each cohort date and segment
Why would you add a heatmap or cohort chart to a dashboard?
To monitor trends and changes over time
In a heatmap chart, the x-axis represents the number of sales for each product category.
False
In a cohort chart, each line represents a different cohort date.
False
The SQL query 'SELECT product_category, COUNT(*) AS sales FROM orders GROUP BY product_category ORDER BY sales DESC;' provides the count of active users for each product category.
False
A cohort chart is created with the cohort date on the x-axis.
True
In a heatmap chart, the y-axis represents the number of active users.
False
The SQL query for creating a heatmap chart involves selecting cohort_date and customer_segment.
False
Cohorting in this context means dividing customers based on the last month they placed an order.
False
Match the following SQL queries with their corresponding chart type:
SELECT product_category, COUNT() AS sales FROM orders GROUP BY product_category ORDER BY sales DESC; = Heatmap chart SELECT cohort_date, customer_segment, COUNT() AS active_users FROM users GROUP BY cohort_date, customer_segment ORDER BY cohort_date; = Cohort chart
Match the following descriptions with the correct chart element:
The x-axis represents the product category. = Heatmap chart Each line represents a different customer segment. = Cohort chart
Match the following actions with their respective outcomes:
Cohorting based on the first month a customer placed an order. = Subdivides customers Creating a heatmap or cohort chart. = Adding it to a dashboard or sharing with users
Match the following data components with their placement on the charts:
Product category on the x-axis and number of sales on the y-axis. = Heatmap chart Cohort date on the x-axis and number of active users on the y-axis. = Cohort chart
Match the following SQL query results with their corresponding information:
Product category and number of sales for each category. = 'SELECT product_category, COUNT() AS sales FROM orders GROUP BY product_category ORDER BY sales DESC;' Cohort date, customer segment, and number of active users for each cohort date and segment. = 'SELECT cohort_date, customer_segment, COUNT() AS active_users FROM users GROUP BY cohort_date, customer_segment ORDER BY cohort_date;'
Match the following terms with their correct definitions:
Cohorting in this context. = Dividing customers based on first order month Customer segment representation in a chart. = Each line in a cohort chart
Match the following tasks with their corresponding steps:
Creating a heatmap or cohort chart. = Querying relevant data and organizing by specific fields
Learn how to create a heatmap or cohort chart using SQL queries. Understand how to categorize customers based on their first order month and visualize the data effectively. Explore an example SQL query to generate a heatmap chart based on product categories and sales figures.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free