Home / Companies / Carto / Blog / Post Details
Content Deep Dive

Stacking Chips - Showing Many Points that Share the Same Location

Blog post from Carto

Post Details
Company
Date Published
Author
CARTO Contributors
Word Count
1,106
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

The NYPD released detailed crime data about "seven major felonies" in NYC for the first 3 quarters of 2015, but the point locations have been adjusted to mid-block or nearest intersection to prevent exact location determination. This results in many rows with the same point coordinates, causing an overlapping points problem. To address this issue, various visualization techniques can be used, including heatmaps, clustering, and spidering, which can help obscure or re-represent the data in a more usable way. A SQL hack using CARTO's `ST_Translate` function allows for dynamic offsetting of point coordinates based on zoom level, effectively creating "stacks" of markers at each location, providing both visual styling and interactivity with every point in the dataset.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.