Published
Edited
Aug 29, 2020
Insert cell
Insert cell
tweets = db.query(`
SELECT "id", "screen_name", "user_id", "time", "link", "text", "source"
FROM "splitgraph/congress_tweets:latest"."tweets"
order by random() LIMIT 100;
`)
Insert cell
import { vl } from "@vega/vega-lite-api"
Insert cell
vl.markTick().data(tweets).encode(vl.x().fieldT('time'), vl.y().fieldN('screen_name')).render()
Insert cell
db.describe()
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more