Public
Edited
Sep 14, 2018
2 stars
Insert cell
Insert cell
Insert cell
SEARCHJS.matchArray(cars_nums, {cyl: 6})
Insert cell
SEARCHJS.matchArray(cars_nums, {hp: {gte: 200}})
Insert cell
SEARCHJS.matchArray(cars_nums, {hp: {gte: 200}, cyl: 6, _join: "OR"})
Insert cell
SEARCHJS.matchArray(cars_nums, {name: "Merc", _text: true})
Insert cell
SEARCHJS.matchArray(cars_nums, {name: "Merc", _text: true, _not: true})
Insert cell
// returns one; see below to get all
SEARCHJS.matchArray(d3_data.children, {name: "tree", _text: true, _propertySearch: true})
Insert cell
d3_data.children.map( d => {
let results = SEARCHJS.matchArray(d.children, {name: "tree", _text: true, _propertySearch: true})
if (results.length) {
return {
name: d.name,
results: results
}
}
}).concat().filter( d => typeof(d) !== "undefined" )
Insert cell
Insert cell
Insert cell
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