Public
Edited
Apr 14, 2023
Fork of Paneles
4 forks
Insert cell
Insert cell
Insert cell
imgUrl = "https://lh3.googleusercontent.com/d/"
Insert cell
csvString = fetch(path).then((response) => response.text())
Insert cell
Insert cell
Inputs.table(data)
Insert cell
Insert cell
scenes = (
{
1: {
viz: {filter: [["fecha", "<", 1900],["otros", "=", false],["modelo", "=", "roulin"]], type: "pack", x: "modelo", y: "modelo"},
// viz: {filter: [["periodo", "<", "1819 - 1850"],["modelo","=","humboldt"]], type: "pack", x: "modelo", y: "figura/fondo"},
text: ""+data[0]["url"],
options: [
{ btn: "pack", scene: "2" },
{ btn: "compare", scene: "3" },
{ btn: "scatter", scene: "4" }
]
},
2: {
viz: {filter: [["fecha", ">", 2000]], type: "pack", x: "figura/fondo", y: "modelo"},
options: [
{ btn: "cont..", scene: "1" },
]
},
3: {
viz: {filter: [], type: "compare", x: 0, y: 1},
options: [
{ btn: "cont..", scene: "1" },
]
},
4: {
viz: {filter: [["fecha", "<", 1900]], type: "scatter", x: "figura/fondo", y: "modelo"},
options: [
{ btn: "pack", scene: "2" },
{ btn: "compare", scene: "3" }
]
},
}
)
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

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