Typeahead + CartoDB
✓ Published0🌍 Public
Aandrewxhill
Last edited Mar 15, 2013
Created on Mar 15, 2013
This example combines a text input field with a typeahead autocomplete widget to search a list of country names. It shows how a CartoDB SQL query fetches distinct country names from the `d3_world_borders` table and populates the Bootstrap typeahead suggestion list. The code uses `cartodb.SQL` to execute the query and `$('#filter').typeahead` to bind the results. The visualization relies on Bootstrap’s typeahead JavaScript and CartoDB’s client-side API, with no map rendering.
AI-generated description