Published
Edited
Feb 24, 2021
2 forks
4 stars
Insert cell
Insert cell
Insert cell
session = new MapdCon()
.protocol("https")
.host("metis.mapd.com")
.port("443")
.dbName("mapd")
.user("mapd")
.password("HyperInteractive")
.connectAsync()
Insert cell
Insert cell
embed = {
const r = require.alias({
"vega": "vega@5",
"vega-lite": "vega-lite@5",
"vega-embed": "vega-embed@6",
"vega-transform-omnisci-core": "vega-transform-omnisci-core@0.0.12"
});
const [embed, QueryCore] = await Promise.all([r("vega-embed"), r("vega-transform-omnisci-core")]);
QueryCore.session(session);
embed.vega.transforms["querycore"] = QueryCore;
return embed;
}
Insert cell
Insert cell
Insert cell
// this is the dataset pulled from omnisci core
view.data('table')
Insert cell
MapdCon = require("@mapd/connector/dist/browser-connector").catch(() => window.MapdCon)
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