Public
Edited
Dec 19
Insert cell
Insert cell
Insert cell
viewof TS = TimeWidget(filteredData, {
x: "year",
y: "income",
id: "state",
width: width,

filters: [
{
name: "Group 1",
brushes: [
{
selectionDomain: [
[1965, 2000],
[1970, 3000]
]
}
]
}
],

_this: this

// Allows to set the coordinate axes to facilitate the comparison.
//fixAxis: true
})
Insert cell
Insert cell
# Data
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
TimeWidget = {
try {
return await require(`http://localhost:8080/dist/TimeWidget.js?${Date.now()}`);
} catch (e) {
return await require("time-widget@0.0.25");
}
}
Insert cell
import {multiAutoSelect} from "@john-guerra/multi-auto-select"
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