Published
Edited
Feb 15, 2022
1 star
Insert cell
Insert cell
Insert cell
pintora(`
sequenceDiagram
autonumber
User->>+Pintora: render this
activate Pintora
loop Check input
Pintora-->>Pintora: Has input changed?
end
Pintora-->>User: your figure here
deactivate Pintora
`)
Insert cell
pintora(
`
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
ORDER {
int orderNumber
string deliveryAddress
}
`,
{ themeConfig: { theme: 'dark' } }
)
Insert cell
Insert cell
pintora = (code, config = {}) => {
const el = DOM.element('div')
pintoraLib.default.renderTo(code, { container: el, config })
return el
}
Insert cell
Insert cell
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