Public
Edited
Apr 4
1 fork
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
getYear = d3.timeParse('%Y')
Insert cell
Insert cell
Insert cell
indexOfCategories
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
noProducers = data.filter(d => d.producer == null).length
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
indexOfOwners[1].list.filter(d => d.acquisition != null && d.acquisition.fr == "Politique d'intégration des arts à l'architecture et à l'environnement du Gouvernement du Québec")
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
artistes = {
var resultat = new Set()
data.map(d => {
if (d.artists != null)
d.artists.forEach(c => resultat.add(c.name))
})
return resultat
}
Insert cell
Insert cell
Insert cell
Insert cell
data.filter(d => d.borough.includes("Villeray"))
Insert cell
---
Insert cell
import {ramp} from "@mbostock/ramp"
Insert cell
Insert cell
Insert cell
testAPIartworks = d3.json("https://picasso.iro.umontreal.ca/~mona/api/v3/artworks")
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