Public
Edited
Nov 1, 2022
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data = {
return {
ids: [...Array(plot_data.length).keys() ],
positionsX: plot_data.map(r => getX(r)),
positionsY: plot_data.map(r => getY(r)),
positionsZ: plot_data.map(r => getZ(r)),
values: plot_data.map(r => r.value),
minX: 0, minY: 0, minZ: 0,
maxX: clouds.length + 1,
maxY: tools.length + 1,
maxZ: configurations.length + 1,
minValue: 0,
maxValue: 100
}
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
camera = {
// Alt-azimuth camera
const camera = core.camera;
camera.setPosition([-0.1, 0.1, 0.55], false);
camera.setAltAzimuth(degreesToRadians(20), degreesToRadians(60), false);
return camera
}
Insert cell
degreesToRadians = MorphCharts.Helpers.AngleHelper.degreesToRadians
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
getY = (tool) => tools.indexOf(tool.Tool) + 1
Insert cell
getZ = conf => configurations.indexOf(conf['Job Conf']) + 1
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