Published
Edited
Jul 22, 2020
1 star
Insert cell
Insert cell
Insert cell
chart = bb.generate({
data: {
columns: [
["data1", 30, 200, 100, 400, 150, 250],
["data2", 50, 20, 10, 40, 15, 25]
],
axes: {
data1: "y",
data2: "y2"
},
types: {
data1: "area-spline",
data2: "bar",
}
},
axis: {
y2: {
show: true,
tick: {show: false}
},
y: {
tick: {show: false}
},
x: {
tick: {show: false}
}
},
tooltip: {
grouped: false
},
grid: {
focus: {
show: true,
y: true,
edge: true
}
},
area: {
linearGradient: true
},
bar: {
radius: {
ratio: 0.12
}
},
bindto: graph
})
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