Published
Edited
Oct 20, 2020
2 stars
Insert cell
Insert cell
Insert cell
verticalLines = 20
Insert cell
horizontalLines = 10
Insert cell
strokeStyle = ``//`stroke-dasharray="5,5"` // set it empty `` to have full lines
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
lines = _ => {
var res = ``
for (var i = 1; i<verticalLines; i++){
var y = (templateHeight/verticalLines) * i
res += `<line ${strokeStyle} x1="0" y1="${y}" x2="${templateWidth}" y2="${y}" stroke="black" />`
}
for (var i = 1; i<horizontalLines; i++){
var x = (templateWidth/horizontalLines) * i
res += `<line ${strokeStyle} x1="${x}" y1="0" x2="${x}" y2="${templateHeight}" stroke="black" />`
}
return res
}
Insert cell
md`## Ideas to go further

* send SVG directly to the device via rmAPI using a Glitch backend and token (could be stored on local storage)
* or Node microservice on own server (could pass the token via URI or POST parameter)
* web template e.g. https://1440px.com/
* inspiration from https://www.reddit.com/r/coolguides/comments/hevvoc/note_taking_methods/
`
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