{
return Plot.plot({
title: 'Data can change very unevenly',
subtitle: 'yikes',
color: {
legend: true,
},
x: {
label: '...at or under these pickups'
},
y: {
label: 'Percent of areas...',
tickFormat: '.0%',
},
marginLeft: 70,
marks: [
Plot.ruleY([0]),
Plot.lineY(cdf_array, { x: "x", y: "ypct", tip: false }),
Plot.dot(cdf_array, { x: "x", y: "ypct", tip: true,
channels: {'y': 'y', x: 'wowX'}
}),
]
})
}