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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more