Public
Edited
Aug 10, 2023
Insert cell
Insert cell
Insert cell
toc()
Insert cell
artistsmona_v3_20230620 = FileAttachment("artistsMONA_v3_2023-06-20.json").json()
Insert cell
Insert cell
Insert cell
Insert cell
exportOR = {
var resultat = []

comptes.forEach(c => {
resultat.push({
id: c.id,
is: c.is,
name: c.name,
nbOeuvres: c.nbOeuvres,
website: c.website,
wikipedia: c.wikipedia,
facebook: c.facebook,
instagram: c.instagram
})
})

return resultat
}
Insert cell
is_values = _.uniqBy(comptes.map(d => d.is))
Insert cell
comptes
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
viewof select = Inputs.select(["wikipedia", "website", "facebook", "instagram"], {label: "Select one"})
Insert cell
Insert cell
Plot.plot({
width: 1200,
overflow: scroll,
y: {
label:"false = présent sur wiki"
},
marks: [
Plot.cell(datascape, {
x: d => d.id,
y: d => (!d.wikipedia)
})
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
comptes.find(d => d.name == "Ashop")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
comptes.filter(d => d.nbOeuvres == 1)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {toc} from "@lenamk/toc"
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