Public
Edited
Feb 13, 2023
Insert cell
Insert cell
DP_D1076EY083_2022_S52@1.tsv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
function sumi(values, index) {
let sum = 0;
for (let i = 0, n = index.length; i < n; ++i) {
const v = +values[index[i]];
if (v) sum += v;
}
return sum;
}
Insert cell
Mnt_DP = DP.filter((d) => +d.Date_DP_Paiement > date("2021/12/31")).map(
(d) => d.Mnt_DP
)
Insert cell
DP2022 = DP.filter((d) => +d.Date_DP_Paiement > date("2021/12/31")).map(
(d) => d.Date_DP_Paiement
)
Insert cell
group(
DP2022.map((d) => +d),
(i) => sumi(Mnt_DP, i)
)
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