[1] 4
Dr. Rob Brotherton
Northern Irish
Research: Political psychology / conspiracy beliefs
Statistics requires basic math skills
E.g. order of operations
\(\Sigma X = ?\)
\(\Sigma X + 1 = ?\)
\(\Sigma(X + 1) = ?\)
\[\begin{align}12 &= 7 + X \\ X &= ? \end{align}\]

w = 1050
h = w/2
cover = {
const svg = d3.select("#cover-image")
.append("svg")
.attr("width", w)
.attr("height", h)
.style("transform", "scaleY(-1)")
const g = svg.append("g")
g
.selectAll("rect")
.data(data)
.enter()
.append("rect")
.attr("fill", "black")
.attr("x", function(d, i){return 5 + i*(w/10)})
.attr("y", 0)
.attr("height", 0)
.attr("width", w/10 - 10)
.attr("fill", d => d.color)
.transition()
.duration(d => d.duration)
.delay(d => d.delay)
.attr("height", d => d.value * 26)
return svg.node()
}