Published
Edited
Oct 16, 2020
1 fork
Importers
8 stars
Hello, PGLiteINSEE ParquetHello, apcachDruidJS workerHello, OrbitWord Tour: 40k words and their friendsHello, spectral.jsHello, petite-vueHello, @thi.ng/grid-iteratorsHello, thumbhashHello, SwissGLHello, QOI (and glitches)Hello, orbHello, cosmographHello, TabulatorUsing d3.blur with PlotMath.cbrtHello debounceColorcetHello, gliiHello, Open MeteoHello, PyWaveletsHello, typesenseHello, libgifHello, kmeans-engineHappy anniversary, Project Gutenberg!Hello, fflateHello, ArchieML!Hello, d3-bboxCollideHello, jsgeoda!Hello, EDTF!Hello, protovis!Hello, placekeyHello, fuse.jsHello, Reorder.jsHello, shadow DOMjszipHello, procedural-glHello, qhullHello, genetic-jsDruidJSHello, Tippy.jsHello, paintWorkletBig πHello, AutoencoderHello, Shakespearean UUIDsHello, ccwt.jsHello, constrainautorHello, talismanHello, polygon-offsetHello p-queueHello async-poolHello rollup-plugin-asciiHello, algebra.jsHello, pixi.jsHello, d3-renderHello zip/unzipCumulative Wikipedia DonationsHTML <details>regl textureHello, npyjsHello protobufHello, pencil touchHello, LOESSHello html2canvaslegra mapscolor2cssHello, ecsy2D point distributionsHello, delatinThe gpu.js loopDijkstra’s shortest-path treeHello nojacko/Dijkstras-jsHello, tcort/dijkstrajsHello, lambdabaa/dijkstraHello, gpu.js v2Hello jsqrHello qrcodeHello SharedArrayBufferHello GamePad APIHello vtk.js
Hello nd4js
Hello BiofabricTravelling with a self-organizing mapHello glitchHello UMAP-jsHello pandemoniumHello iocaneHello JSON-editorHello d3-griddingHello mljs/knnWorkerHello lalolibImage to GPU.jsImage to blink.jsTissot's indicatrixVega projectionsHello WebCLGLUsing d3-inertia with observableVideo contouring 3ngraph: pagerank, louvain…Union-FindPerceptron (simple statistics)mljsHello h3-jsEmoji FlagsHello, poisson-disk-sampling
Also listed in…
Linear Algebra
Insert cell
Insert cell
// https://bundle.run/nd4js
nd = require(await FileAttachment("nd4js-1.3.0").url())
Insert cell
viewof A = pt(nd.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]))
Insert cell
A.shape
Insert cell
viewof v = pt(nd.array([[1, 2, -3]]).T)
Insert cell
pt(nd.la.matmul(v.T, A, v))
Insert cell
Insert cell
Insert cell
Insert cell
viewof M = pt(nd.tabulate([1000, 100], (i, j) => Math.random() - 0.5))
Insert cell
SVD = {
const time = performance.now();
const SVD = nd.la.svd_decomp(M);
SVD.time = (performance.now() - time) | 0;
return SVD;
}
Insert cell
pt(SVD[0])
Insert cell
pt(SVD[1])
Insert cell
pt(SVD[2])
Insert cell
Insert cell
viewof E = pt(
nd.tabulate([100, 100], (i, j) =>
Math.min((i + 1) / (j + 1), (j + 1) / (i + 1))
)
)
Insert cell
Ev = {
const time = performance.now();
const Ev = nd.la.eigen(E);
Ev.time = (performance.now() - time) | 0;
return Ev;
}
Insert cell
pt(Ev[0])
Insert cell
pt(Ev[1])
Insert cell
import { pt } from "@fil/pt"
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more