Published
Edited
Aug 3, 2022
Fork of Untitled
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// series1 = {
// let rawdata = await d3.csv("https://gist.githubusercontent.com/mmattozzi/a1e33d0f4b337a8ec821392fe5f6fcd8/raw/955f631f2dd2d921774ed2a5349d0466890d3a96/data1.csv")
// rawdata.forEach(function(d) {
// d.timestamp = parseTime(d.timestamp);
// d.value = +d.value;
// })
// return rawdata
// }
Insert cell
series2 = {
let rawdata = await d3.csv("https://raw.githubusercontent.com/UCB-summer2022-TeamTwitch/Twitch-chat-pioneers/main/data/processed/follower_values_chenny323.csv")
rawdata.forEach(function(d) {
d.timestamp = parseTime(d.timestamp);
d.value = +d.value;
});
return rawdata;
}
Insert cell
series3 = {
let rawdata = await d3.csv("https://raw.githubusercontent.com/UCB-summer2022-TeamTwitch/Twitch-chat-pioneers/main/data/processed/viewer_values_chenny323.csv")
rawdata.forEach(function(d) {
d.timestamp = parseTime(d.timestamp);
d.value = +d.value;
})
return rawdata;
}
Insert cell
// ORIGINAL CODE WAS HERE

// series4 = {
// let rawdata = await d3.csv("https://gist.githubusercontent.com/mmattozzi/a1e33d0f4b337a8ec821392fe5f6fcd8/raw/955f631f2dd2d921774ed2a5349d0466890d3a96/data4.csv")
// rawdata.forEach(function(d) {
// d.timestamp = parseTime(d.timestamp);
// d.value = +d.value;
// })
// return rawdata;
// }
Insert cell
series4 = {
let rawdata = await d3.csv("https://raw.githubusercontent.com/UCB-summer2022-TeamTwitch/Twitch-chat-pioneers/main/data/processed/sentiment_values_chenny323.csv")
rawdata.forEach(function(d) {
d.timestamp = parseTime(d.timestamp);
d.value = +d.value;
})
return rawdata;
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more