This example demonstrates assigning a threshold dynamically to a pie chart by creating a new dimension based on slider input.