component Statistics(screenSizes []*utils.PieChartSlice) h1 Statistics .statistics h3 Screen size PieChart(screenSizes) //- canvas#screen-sizes.graph(data-values=utils.ToJSON(screenSizes)) component PieChart(slices []*utils.PieChartSlice) svg.graph(viewBox="-1.05 -1.05 2.1 2.1") each slice in slices g title= slice.Title path.slice(d=utils.SVGSlicePath(slice.From, slice.To), fill=slice.Color)