Plot.plot({
width: 1100, height: 320, marginLeft: 70, marginBottom: 55, marginTop: 30, style: {fontSize: "18px"},
x: {label: "r", domain: [0, 1]}, y: {label: "S_T(r)", domain: [-3, 3]}, clip: true,
marks: [
Plot.ruleY([0], {stroke: "#bbb"}),
Plot.line(d3.range(0, 1.001, 0.01), {x: r => r, y: r => 1.96 * Math.sqrt(r), stroke: "#8ba3c7", strokeDasharray: "6,4"}),
Plot.line(d3.range(0, 1.001, 0.01), {x: r => r, y: r => -1.96 * Math.sqrt(r), stroke: "#8ba3c7", strokeDasharray: "6,4"}),
Plot.line(walk, {x: "r", y: "S", stroke: "#8b2635", strokeWidth: 1.6})
]
})