Plot.plot({
height: 600,
width: 1000,
y: {
grid: true,
label: "↑ Share of all commits"
},
marks: [
Plot.areaY(dataDecoratedAndOthers, {
x: "date",
y: "rollingAvgShare",
fill: "ecosystem",
order: ['Ethereum', 'Polkadot', 'Cosmos', 'NEAR', 'Solana', 'others'],
reverse: true
}),
],
color: {
legend: true,
domain: ['Ethereum', 'Polkadot', 'Cosmos', 'NEAR', 'Solana', 'others',],
range: ["#37367b", "#E6007A", "#66a1ff",'black', "#00FFA3", "lightgray" ]
}
})