bannerImage = {
const svg = d3.select(".quarto-title").append("svg")
.attr("id", "title-svg")
.attr("preserveAspectRatio", "xMinYMin meet")
.attr("viewBox", "0 0 " + 50 + " " + 20)
svg.selectAll("circle").data(data).enter().append("circle")
.attr("cx", d => d.x)
.attr("cy", -5)
.attr("r", 0.5)
.attr("stroke", "none")
.attr("fill", (d, i) => d3.schemeCategory10[i % 10])
.transition().duration(800).ease(d3.easeCubicIn)
.delay( (d, i) => i * 8)
.attr("cy", d => 20 - d.y)
}Visualizations
Interactive visualizations of fundamental statistical concepts.
Games
Some ‘games’ (I’m using the term loosely!) that I use to illustrate statistical concepts or generate data for analysis.