Published
Edited
Feb 28, 2018
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pathways=['pathwayA', 'pathwayB','pathwayC','pathwayD','pathwayE','pathwayF']
Insert cell
function generateData(genes,pathways){
return d3.shuffle(pathways)
.slice(1, Math.ceil(Math.random()*6))
.map((item)=>{return {'name':item, 'gene':shuffleData(genes)}})
}
Insert cell
Insert cell
data1 = {
let i = 0;
while (true) yield Promises.delay(5000, generateData(genes,pathways));
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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