def prepare_data_for_cyclomatic_complexity_chart(cyclomatic_complexity):
    """Prepare data (values, labels, colors) for the cyclomatic complexity chart."""
    filtered_complexity = {k: v for k, v in cyclomatic_complexity.items()
                           if v > 0 and k != "status"}

    labels = sorted(filtered_complexity.keys())

    fractions = [filtered_complexity[key] for key in labels]

    colors = ('#60a060', 'yellow', 'orange', 'red', 'magenta', 'black')

    return labels, fractions, colors