This is a simple plugin for Chartist.js that will add margins between slices on donut charts.
var defaultOptions = {
sliceMargin: 6
};
var chart = new Chartist.Pie('.ct-chart', {
labels: [1, 2, 3, 4, 5, 6, 7],
series: [
[2, 4, 2, 5, 4, 3, 6]
]
}, {
plugins: [
Chartist.plugins.ctSliceDonutMargin({
sliceMargin: 6
})
]
});