Platform
Resources
Pricing
Sign in
Get started
Grant Nestor
Owner of Hammies, former Jupyter core developer and co-lead of Jupyter Notebook and JupyterLab teams
Workspace
Fork
Public
Libraries
By
Grant Nestor
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
svg
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
JsBarcode
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML