Published
Edited
May 20, 2021
Insert cell
Insert cell
// Exemple de code JS
a = [1, 2, { nom: "Jollois", prenom: "FX" }]
Insert cell
Insert cell
b = "bonjour"
c = "bonsoir"
Insert cell
Insert cell
html`<p>Ceci est écrit directement en code <strong>HTML</strong>.</p>`
Insert cell
md`La même chose en **Markdown** est beaucoup plus simple à faire.`
Insert cell
Insert cell
tex`I = \sum_{i=1}^n (x_i - g)^2`
Insert cell
Insert cell
val = 12
Insert cell
Insert cell
5 * val
Insert cell
Insert cell
val2 * val
Insert cell
val2 = 7
Insert cell
Insert cell
variable = "valeur"
Insert cell
{ var variable2 = "autre valeur" }
Insert cell
{
var variable3;
variable3 = variable + " avec autre chose";
return variable3;
}
Insert cell
variable3
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