Public
Edited
Aug 29, 2023
Insert cell
Insert cell
Insert cell
Insert cell
viewof data = aq
.fromCSV(await FileAttachment("test.csv").text(), { delimiter: ";" })
.view()
Insert cell
Insert cell
datafil = data
//.select("Gitter_ID_100m", "Auspraegung_Text", "Anzahl")
/*.rename({
Gitter_ID_100m: "cell",
Auspraegung_Text: "variable",
Anzahl: "count"
})*/
.derive({
lbl: (d) => d.Merkmal + "_" + d.Auspraegung_Code
})
//.derive({
// aaa: (d) => "100msss" + d.count /*d.cell.replace("100m", "")*/
//})
.groupby("Gitter_ID_100m")
.pivot("lbl", ["Anzahl"])
.view()
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