Public
Edited
Jun 21, 2022
2 forks
Insert cell
Insert cell
carbIndex = 70
Insert cell
drawCarb(7)
Insert cell
// drawCarb(33)
Insert cell
// drawCarb(72)
Insert cell
//drawCarb(131)
Insert cell
carbSeven = drawCarb(53)
Insert cell
// drawCarbEuler(129, [75830, 75833, 75493, 75501, 75844], false, false, true)
Insert cell
Insert cell
Insert cell
Insert cell
getPointsFromCarb = (carbIndex) => {
return allDataWithVectors.filter(rub => rub.reg === carbIndex)
}
Insert cell
rubData(7)
Insert cell
rubData = (carbIndex) => {
return { rubs: getPointsFromCarb(carbIndex), chains: chainData.results.find(c => c.carb.carbIndex === carbIndex) }
}
Insert cell
THREE = {
const THREE = window.THREE = await require("three");
await require("three/examples/js/controls/OrbitControls.js").catch(() => {});
return window.THREE;
}
Insert cell
import {allDataWithVectors, chainData} from '577d0f5e0f69f386'
Insert cell
math = require("mathjs@7.6.0")
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