Public
Edited
Mar 4, 2023
1 star
Insert cell
Insert cell
Insert cell
Insert cell
sentiments = FileAttachment("sentiments@1.json").json()
Insert cell
Insert cell
Insert cell
tt = {
const arqueroTables = {};

for (let key in sentiments) {
const table = aq.from(sentiments[key]);
arqueroTables[key] = table;
}
return arqueroTables
}
Insert cell
Insert cell
Insert cell
viewof selectedLexicon = Inputs.select(Object.keys(sentiments), {label: "Lexicon"})
Insert cell
datatoView
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
datatoView = sentiments[selectedLexicon]
Insert cell
import {aq} from "@uwdata/arquero"
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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