How To: Create an H3 Heatmap from Point Data
This tutorial provides step-by-step instructions to create an H3 heatmap from point data using Honeycomb Data Explorer. Watch the video or follow the step-by-step instructions below.
Prerequisites
- Access to Honeycomb Data Explorer
- A dataset with latitude and longitude columns
- Permission granted for Honeycomb to access your data table through the Snowflake UI
Step-by-Step Guide
1. Prepare Your Data
- Ensure your data table contains:
- Latitude column
- Longitude column
- Note: An H3 column is not required as Honeycomb can generate it automatically
2. Add Data to Your Map
- Click on the table alias in Honeycomb
- Honeycomb will automatically:
- Detect latitude and longitude columns
- Create points on the map
- Generate an H3 column for your data
3. Create the H3 Heatmap Layer
- Click "Edit Map" to open the sidebar
- Navigate to "Map Layers"
- Click "Add Map Layer"
- Honeycomb will automatically:
- Select your data source
- Create a honeycomb layer
- Use the auto-generated H3 field
4. Configure the Heatmap
- Set the aggregation:
- Choose a field to aggregate (e.g., ID)
- Select "Count" as the aggregation method
- Customize the appearance:
- Choose a color scheme (e.g., purple)
- Hide the point layer if desired
- Select the interpolation type:
- Value (Linear Scale):
- Shows contrast between high and low-density areas
- Darker colors for high-density areas
- Quantile:
- Divides values into equal buckets
- Shows more color variation across the map
- Value (Linear Scale):
- Adjust additional settings:
- Set the number of color steps (default: 9)
- Give your layer a name
Tips
- You don't need to pre-compute H3 columns in Snowflake; Honeycomb generates them automatically
- The Value interpolation type is best for showing absolute differences
- The Quantile interpolation type is better for showing relative distributions
- Experiment with different color schemes and steps to find the best visualization for your data
Next Steps
After creating your H3 heatmap, you can:
- Adjust the color scheme and interpolation settings
- Combine with other layers for more detailed visualization
- Add additional components to your dashboard
You have now successfully created an H3 heatmap from point data in Honeycomb Data Explorer. This visualization helps identify patterns and density distributions in your geographical data.