
            categories.forEach(function (category, index) {
                let start = 0;
                for (var i = 0; i < dataCount; i++) {
                    var typeItem = types[Math.round(Math.random() * (types.length - 1))];
                    data.push({
                        name: typeItem.name,
                        value: [
                            index,
                            i +  start,
                            i + 1 + start,
                            1
                  