Published
Edited
Aug 11, 2022
3 forks
25 stars
Insert cell
Insert cell
rough(Plot.barY([1, 2, 4, 3]).plot())
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
rough = (svg) => {
const S = Object.assign(
new svg2rough.Svg2Roughjs(document.createElement("SVG")),
{
svg,
backgroundColor: "white",
pencilFilter,
randomize,
fontFamily: "cursive",
roughConfig: { bowing, roughness, fillStyle }
}
);
S.sketch();
return S.outputElement;
}
Insert cell
svg2rough = import("https://cdn.skypack.dev/svg2roughjs@3.0.1?min")
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