{"version":"1.0","type":"rich","title":"CartoDB Backbone for data-driven webpages","description":"This example demonstrates how to integrate CartoDB’s geographic data services with the Backbone.js framework to build data-driven webpages. The code defines a custom Backbone model that queries the `nyc_parks` table via SQL, fetching the ten largest parks by area and then binding a `reset` event to display their names in an alert. It uses CartoDB’s `CartoDBCollection` and the `fetch()` method to load remote data asynchronously, while Backbone’s event system triggers the callback. The example shows a minimal pattern for combining SQL queries with a client-side MVC structure.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-3709298?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}