Public
Edited
Jun 28, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Plot.plot({
// marginLeft:80,
// width:800,
// color:{legend:true},
// x:{tickFormat:(t) => t.split("-")[0]},
// marks:[
// Plot.barY(flatDecades, {x: "label",y:"count", fill: "facet"})
// ]
// })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dataResourcesProportions = dataResources.map(r => { return {...r, alaProportion: r.count*100/114793556}})
Insert cell
Insert cell
Insert cell
Insert cell
resourcesFilteredAll = getMultiYears(filterResources)

Insert cell
resourcesFilteredFlat = flattenTimeline(resourcesFilteredAll)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
d3Cloud = require("d3-cloud@1")
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