Public
Edited
Jun 8, 2023
Importers
Insert cell
viewof hour = Inputs.range([0, 23], {label: "hour", step: 1,value:'hour'})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
corona = require('https://episphere.github.io/corona/corona.js')
Insert cell
Insert cell
traj_data = d3.csvParse(await FileAttachment("cluster_data_day1@2.csv").text(), d3.autoType)
Insert cell
function traj_itemfor(){
var x=[];
var y=[];
var z=[];
var t=[];
var label=[];
for(var i =0;i<traj_data.length;i++){
x.push(traj_data[i].x);
y.push(traj_data[i].y);
z.push(traj_data[i].z);
t.push(traj_data[i].t);
label.push(traj_data[i].label);
}
return [x,y,z,t,label];
}
Insert cell
traj_itemfor()
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