Public
Edited
Jun 8, 2023
3 forks
10 stars
Insert cell
Insert cell
Insert cell
Insert cell
fishes.filter(d => d.COMMON_NAME === "Painted Greenling" && ["NAPL", "CARP"].includes(d.SITE))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fishes
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
myArray = [1, 2, 5, 10, 4, 6, 18]
Insert cell
Insert cell
myArray.filter(val => val > 8)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
2 == "2" // Converts to the same type before comparing values using the loose equality operator
Insert cell
2 === "2" // Must originally match in type and value using the strict equality operator
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fishes.filter(d => d.COMMON_NAME === "Painted Greenling" && ["NAPL", "CARP"].includes(d.SITE))
Insert cell
Insert cell
Insert cell
Insert cell
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