diff --git a/pages/index.tsx b/pages/index.tsx index f4c7483..dbc598f 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -171,6 +171,14 @@ function spec( }, default: 2023, }, + { + aggregate: [ + { + op: "mean", + field: [""], + }, + ], + }, ] ) @@ -239,7 +247,7 @@ function spec( encoding: { x: { aggregate: "max", field: "binned_year" }, y: { aggregate: { argmax: "binned_year" }, field: yField }, - text: { aggregate: { argmax: "binned_year" }, field: "name" }, + text: { aggregate: { argmax: "binned_year" }, field: "year" }, // field: "name" }, }, ],