<commit_before>import { Component } from '@angular/core';

@Component({
    selector: 'overview-stack',
    templateUrl: './overview.html',
    styleUrls: ['./overview.scss']
})
export class OverviewComponent {
    private dependenciesChart: any;
    constructor() {
        this.dependenciesChart = {
            data: {
                columns: [
                    ['data1', 30],
                    ['data2', 120]
                ],
                type: 'donut'
            },
            chartOptions: {
                donut: {
                    width: 50
                },
                color: {
                    pattern: ['#696969', '#A9A9A9']
                }
            },
            configs: {
                legend: {
                    position: 'inset',
                    inset: {
                        anchor: 'top-right',
                        x: 70,
                        y: 120,
                        step: 2
                    }
                }
            }
        };
    }
}<commit_msg>added title and legend for donut chart as per mock<commit_after>import { Component } from '@angular/core';

@Component({
    selector: 'overview-stack',
    templateUrl: './overview.html',
    styleUrls: ['./overview.scss']
})
export class OverviewComponent {
    private dependenciesChart: any;
    constructor() {
        this.dependenciesChart = {
            data: {
                columns: [
                    ['internal', 11],
                    ['external', 21]
                ],
                type: 'donut'
            },
            chartOptions: {
                donut: {
                    width: 50,
                    title: '32 Dependencies'
                },
                color: {
                    pattern: ['#696969', '#A9A9A9']
                }
            },
            configs: {
                legend: {
                    position: 'right'
                }
            }
        };
    }
}
{'fraction_non_alphanumeric': 0.11178861788617886, 'fraction_numerical': 0.020833333333333332, 'mean_word_length': 0.8987463837994214, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2398080', 'n_tokens_mistral': 537, 'n_tokens_neox': 463, 'n_words': 99}