chart = Plot.plot({
height: 800,
width: 900,
marginLeft: 20,
x: {
axis: null,
align: 1,
},
y: {
axis: null,
round: true,
align: -20,
},
color:
{
domain: [0,100],
range: ["black","yellow"],
},
r:
{
domain: [0,10],
range: [0,4],
},
marks: [
Plot.frame({fill: "#eee"}),
Plot.cell(d_Filter,
Plot.bin({fill: "count", thresholds: 30},
{
x: "X",
y: "Y",
}))
]
})