Plot.plot({
caption: "What are the stargazers count?",
x: {
transform: d => d ,
label: "stargazers count",
},
marks: [
Plot.ruleY([0]),
Plot.rectY(query, Plot.binX({y: "sum"}, {x: "stargazers_count",domain: [0, 9000],thresholds: d3.range(1, 300)}))
]
})