Published
Edited
Mar 16, 2022
Importers
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
atlasFont = html`
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400&display=swap" rel="stylesheet">

<style>
.exo2 {
font-family: 'Exo 2' !important;
}
</style>
`
Insert cell
fontStyle = html`
<style>
.sans-serif {
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}
.header {
font-size: 1.5rem;
}
p {
font-size: 1.25rem;
}
</style>
`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
arrow('left', () => {console.log("click")})
Insert cell
arrow = (direction, onClick) => {
let d = document.createElement('div');
d.style.cssText =
`
position: relative;
text-align: center;
margin: auto;
display: inline-block;
width: 10%;
max-width: 40px;
padding-top: 10px;
vertical-align: top;
opacity: 0.75;
cursor: pointer;
`
d.append(arrows[direction])
d.addEventListener("click", onClick)
return d
}
Insert cell
Insert cell
Insert cell
atlasStyle = html`
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400&display=swap" rel="stylesheet">
<style>
.exo2 {
font-family: 'Exo 2' !important;
}
${removeStyleTags(fontStyle)}
${removeStyleTags(buttonStyle)}
${removeStyleTags(radioButtonStyle)}
</style>
`
Insert cell
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