<commit_before><div class="widget-body clearfix">
    <div class="renderChart"></div>
    {{#if widgetSettings.viewAllRoute}}
        {{#unless item.hideViewAll}}
            <div class="text-right m-t-md">
                <button class="btn btn-link text-bigger" {{action 'transitionToFacet' null 'providers'}}>View all</button>
            </div>
        {{/unless}}
    {{/if}}
</div><commit_msg>Fix c3 widget view when there is no chart data<commit_after><div class="widget-body clearfix">
    <div class="renderChart"></div>
    {{#if data.length}}
        {{#if widgetSettings.viewAllRoute}}
            {{#unless item.hideViewAll}}
                <div class="text-right m-t-md">
                    <button class="btn btn-link text-bigger" {{action 'transitionToFacet' null 'providers'}}>View all</button>
                </div>
            {{/unless}}
        {{/if}}
    {{else}}
        <p class="text-center">No data providers</p>
    {{/if}}
</div>
{'fraction_non_alphanumeric': 0.17273673257023933, 'fraction_numerical': 0.001040582726326743, 'mean_word_length': 2.4113475177304964, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4994196', 'n_tokens_mistral': 298, 'n_tokens_neox': 289, 'n_words': 66}