barchart = GroupedBarChart(data8.filter(d=> d.Substance == "Opioids"), {
x: d => d.Region,
y: d => d.Value,
z: d => d.Year_Quarter,
yLabel: "Opioid death in Canada Per 100,000",
xDomain: d3.groupSort(data8, D => d3.sum(D, d => -d.Value), d => d.Region).slice(0, 8),
zDomain: Time,
colors: d3.schemeSpectral[Time.length],
width,
height: 700
})