Plot.plot({
color: {legend: true, range: mysentimentalColors },
height: 1800,
width: 1000,
insetLeft: 15,
marginLeft: 34,
x: { grid: true },
marks: [
Plot.dot(await FileAttachment("chat2_out2_1.csv").csv({ typed: "auto" }), {
x: "Date",
y: "Time_number",
stroke: "Sentiment_Label",
r: "message count",
title:(d) =>
`${d.message} \n\n By:${d.user} \n Date: ${d.Date_time} \n Mood:${d.Sentiment_Label} `,
tip: true
}),
]
})