Math.sqrt(4**2+3**2)// this is JavaScript, the result is shown just above
my_string+" is "+my_string
// 1. note that references to other cells are underlined in blue
// 2. + on strings means concatenate in JavaScript
my_number_plus_3=3+my_number// my_number is not defined yet ! We'll get to it...
... here is an exemple of Makdown-formatted text, with some **bold statements** and some _cautious statements_. We may also get wild and make a bullet list:
- some interesting facts
- some weird facts
my_number=28
```
|- svg
|- circle (the circle element is nested inside the SVG element)
text.text("Number of circle: "+counter+", click for more.")
}
add_circle()// test
// Question Q
svg.on("click",add_circle)
returnsvg.node()
}
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.