This visual execution shows how metric definitions and semantic layers work in dbt. First, a metric like total_revenue is defined as the sum of the amount column. Then, this metric is added to the semantic layer, which organizes metrics centrally. When building models or reports, the metric from the semantic layer is used, ensuring consistent calculations. Running the query produces the total revenue value. Variables like metric_definition and semantic_layer change state as steps progress. Key moments clarify why semantic layers centralize metrics and how changes propagate. The quiz tests understanding of query usage, semantic layer state, and metric updates.