Skip to main content
100%

Ultra Fast Type-ahead

✓ Published0🌍 Public
YYuliya
Last edited Jul 11, 2019
Created on Jul 11, 2019
Forked from Hello VizHub

This visualization demonstrates an ultra-fast type-ahead search interface for country names. The code loads a JSON dataset of countries, maps it to an array of names, and uses jQuery’s `$('#search').typeahead` API with a custom substring matcher that employs a regular expression (`^${q}`) to filter results from the first letter. The interface highlights matching text, providing immediate feedback as the user types.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes