Type Table, then Shift-Enter. Ctrl-space for more options.
names=[...newSet(raw.map((e)=>e.simple_name))]
plots=[...newSet(raw.map((e)=>e.Plot))]
raw.map((e)=>({
...e,
name_ind:names.indexOf(e.simple_name),
plot_ind:plots.indexOf(e.Plot)
}))
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.