Public
Edited
Dec 22, 2022
Importers
1 star
Insert cell
Insert cell
Insert cell
svg = html`<svg id="barcode" />`
Insert cell
svg && JsBarcode("#barcode", "Hello")
Insert cell
Insert cell
{
const context = DOM.context2d(200);
JsBarcode(context.canvas, "Hello", {
width: 4,
height: 60
});
return context.canvas;
}
Insert cell
JsBarcode = require("https://cdn.jsdelivr.net/npm/jsbarcode@3.11.0/dist/barcodes/JsBarcode.code128.min.js").catch(
() => window.JsBarcode
)
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