Skip to main content
100%

torque query and output

✓ Published0🌍 Public
Aandrewxhill
Last edited Jun 21, 2013
Created on Jun 21, 2013

This example demonstrates a CartoDB SQL query that aggregates and grids a dataset of points over both space and time. The query snaps geographic coordinates to a grid, groups counts by spatial cell and time bin, and returns an array of counts and corresponding date indices for each cell. The accompanying JSON shows the result—rows with x/y coordinates, value arrays, and date indices, which can be used to build a temporal heatmap or animated map. The visualization highlights how spatial and temporal aggregation can reveal patterns in point data, such as event frequency over time across a gridded map.

AI-generated description

Similar vizzes