Plot.plot({
marks: [
Plot.dot(
wikichanges.filter(d => d.type == "edit" && (language == "all" || language == d.meta.domain.split(".")[0]) ) ,
{
x: d => new Date(d.timestamp * 1000),
y: d => d.length.new - d.length.old,
fill: "timestamp",
fillOpacity: 0.6,
title: d => `${d.length.new - d.length.old} by ${d.user}\n${d.meta.uri}`,
sort: { y: "x", reverse: true, limit: 20 }
})
],
color: { scheme: "blues" },
y: { type: "symlog" },
grid: true,
marginLeft: 100
})