D3 Horizontal Stacked Bar Chart With Labels - Charts Api Moodledocs