Public
Edited
Oct 26, 2022
Insert cell
Insert cell
d3 = require("d3")
Insert cell
FederModule = import("https://unpkg.com/@zilliz/feder@0.2.4/dist/index.js")
Insert cell
FederCore = FederModule.FederCore
Insert cell
indexSource = "faiss"
Insert cell
indexFilePath = "https://assets.zilliz.com/faiss_ivf_flat_voc_17k_ab112eec72.index"
Insert cell
indexArrayBuffer = fetch(indexFilePath).then((res) => res.arrayBuffer())
Insert cell
federCore = new FederCore({
data: indexArrayBuffer,
source: indexSource,
viewParams: {
width: 800,
height: 800,
projectSeed: 12357
}
})
Insert cell
federCore.index
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