Thanks to visit codestin.com
Credit goes to dc-js.github.io

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

Score threshold: 0.5