Public
Edited
May 13, 2024
2 forks
Importers
3 stars
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
panoramaSlides(infographics.map(d => d.url), infographics.map(d => d.caption), infographics.map(d => d.source), infographics.map(d => d.name))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
artists = FileAttachment("Artists.json").json()
Insert cell
artists
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
artistesAllemands = artists.filter(d => d.Nationality == "German")
Insert cell
artistesSansOrigineRenseignee = artists.filter(d => d.Nationality == null)
Insert cell
artistesPasAllemands = artists.filter(d => d.Nationality != "German")
Insert cell
artists
SELECT * FROM artists WHERE BeginDate==1912
Insert cell
artistesAllemands
SELECT * FROM artistesAllemands WHERE BeginDate == 1912
Insert cell
Artworks-select-Lena.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
artworksSelectLena
Insert cell
Insert cell
Insert cell
data
X
dateProduction
Y
Color
Size
Facet X
Facet Y
categorie
Mark
Auto
Type Chart, then Shift-Enter. Ctrl-space for more options.

Insert cell
data
Insert cell
Plot.plot({
marginLeft: 120,
width:1200,
x: {
tickRotate: -45,
},
marks: [
Plot.dot(data, {x: "dateProduction", y: "categorie"})
]
})
Insert cell
Plot.plot({
width : 1200,
marginLeft: 120,
x: {
tickRotate: -45
},
marks:[
Plot.dot(data, {x: "dateProduction", y: "categorie"})
]
})
Insert cell
Plot.plot({
marks: [
Plot.barY(data, {x: "produced_at", y: "count"}),
Plot.ruleY([0])
]
})
Insert cell
Plot.plot({
height: 550,
width:1200,
marginBottom: 50,
x: {
tickRotate: -45,
},
marks: [
Plot.dot(data, Plot.dodgeY({x: "dateProduction", fill: "categorie", title:"titre"}))
],
color: {
legend: true,
},
})
Insert cell
cars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {toc} from "@lenamk/toc"

Insert cell
import {tp1} from "@lenamk/plan-du-cours-hnu6056-hnu3056"
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