Public
Edited
Feb 23, 2021
2 forks
2 stars
Insert cell
Insert cell
Insert cell
fuse.search(query)
Insert cell
list = [
'JoyRide',
'Beach Bunny',
'Jungle',
'Panther',
'Lolly Classic Black',
'Lolly Clementine',
'Lolly Floss',
'Lolly Fuchsia',
'Lolly Honeydew',
'Lolly Pineapple',
'Lolly Pool Blue',
'Lolly Poppy',
'Lolly Strawberry',
'Lolly Taffy',
'Jack',
'Wheels',
'Brake Petals',
'Helmets and Pads',
'Accessories'
]
Insert cell
Insert cell
fuse = new Fuse(list, {
// isCaseSensitive: false,
includeScore: true,
// shouldSort: true,
// includeMatches: false,
// findAllMatches: false,
// minMatchCharLength: 1,
location: 0,
threshold: 0.6,
distance: 60,
// useExtendedSearch: false,
// ignoreLocation: true,
ignoreFieldNorm: true
})
Insert cell
Fuse = require('fuse.js')
Insert cell
import { text } from '@observablehq/legacy-inputs'
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more