Public
Edited
Sep 12, 2024
29 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
An Observable notebook is composed of several cells, each of which can contain JavaScript code or markdown. There are different types of cells, but they generally include **JavaScript** cells for code and **Markdown** cells for text. This cell is a Markdown cell. You can run or interact with a cell by clicking on it (the highlight color will change to indicate selection) and pressing **Shift-Enter**. If the cell is a **JavaScript** cell, the code will execute, and the results will be displayed immediately. If it's a **Markdown** cell, the text will render as formatted content below the cell.

Feel free to experiment with executing this cell.
Insert cell
Insert cell
Insert cell
currentWeek = 3
Insert cell
Insert cell
Insert cell
"There are " + (13 - currentWeek) + " weeks left in the fall semester"
Insert cell
Insert cell
{
const course = "ITCS 5122";
const message = "Welcome to " + course;
return message;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function sumOfSquares(numbers) {
// TODO
}
Insert cell
Insert cell
function countVowels(str) {
//TODO
}
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