Public
Edited
Aug 13, 2024
Paused
Comments locked
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// @see {@link https://www.typescriptlang.org/docs/handbook/variable-declarations.html#property-renaming}
lookup = Object.fromEntries(
query
.sort((a, b) => a[0].localeCompare(b[0]))
.map((item) => [
item[0],
item[1].map(
({ "File-Date": discard, Type, ...rest }) =>
/* drop File-Date & Type keys */ rest
)
])
)
Insert cell
synopsis = query.map((row) => ({ Type: row[0], Count: row[1].length }))
Insert cell
query = d3.groups(records.slice(1), (row) => row.Type)
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