chart({
xAxis: {
title: "Allele Frequency",
min: 0,
max: 1
},
yAxis: {
title: "Genotype Frequency",
min: 0,
max: 1
},
series: [
{ points: x => x ** 2, color: "#fae755", width: 5 },
{ points: x => (1 - x) ** 2, color: "#42818c", width: 5 },
{ points: x => x * (1 - x) * 2, color: "#8ccd64", width: 5 }
]
})