Published
Edited
Oct 6, 2020
Insert cell
Insert cell
Insert cell
Insert cell
renderedBoone = layeredChart("boone").render()
Insert cell
Insert cell
Insert cell
renderedCole = layeredChart("cole").render()
Insert cell
Insert cell
Insert cell
renderedCallaway = layeredChart("callaway").render()
Insert cell
Insert cell
Insert cell
renderedAudrain = layeredChart("audrain").render()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
renderedCooper = layeredChart("cooper").render()
Insert cell
Insert cell
Insert cell
renderedMoniteau = layeredChart("moniteau").render()
Insert cell
Insert cell
import {vl} from '@vega/vega-lite-api'
Insert cell
embed = require("vega-embed@6")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewWidth = {
if (width >= 1190) {
return Math.min(width - 518, 746)
} else if (width >= 990) {
return Math.min(width - 434, 746)
} else {
return width - 30
}
}
Insert cell
viewHeight = {
if (screen.height >= 410) {
return 400
} else if (viewWidth <= screen.height) {
return viewWidth
} else {
return screen.height - 10
}
}
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