# H3

H3 visualization is a way to aggregate point data into a grid of H3 cells.

H3 visualizations are defined using `“type”: “h3”` . They generally share the same properties and behaviors as [color range visualizations for polygons](/felt-style-language/types-of-visualizations/numeric-visualizations-color-and-size.md). Properties of specific relevance to H3 are:

| Field name         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `aggregation`      | The aggregation method that will be used on points within each cell. Supported values are `count` (default), `sum`, `min`, `max`, and `mean` .                                                                                                                                                                                                                                                                                                                          |
| `binMode`          | `fixed` (default), `low`, `medium`, or `high`. Determines if the resolution of H3 cell is fixed or automatically determined based on the current zoom of the map.                                                                                                                                                                                                                                                                                                       |
| `baseBinLevel`     | Required. If `binMode` is `fixed`, this is the [H3 cell resolution](https://h3geo.org/docs/core-library/restable/) that the map will use. H3 cells vary from resolution 1 (largest) to resolution 15 (smallest). If `binMode` is `auto`, this is the resolution that will be used for calculating class breaks. You will get best results choosing a resolution that matches the `fixed` resolution you would choose to fit the most commonly-viewed zoom for your map. |
| `numericAttribute` | The numeric column to aggregate. Required unless `aggregation` is `count` , in which case the column choice is irrelevant.                                                                                                                                                                                                                                                                                                                                              |

This is an example of an H3 visualization

<figure><img src="/files/GBYIs7jN2MHXVpOpSYnk" alt=""><figcaption></figcaption></figure>

defined with the following style

```jsx
{
  "config": {
    "steps": {"type": "quantiles", "count": 5},
    "aggregation": "sum",
    "binMode": "fixed",
    "baseBinLevel": 3,
    "numericAttribute": "capacity_mw"
  },
  "paint": {"color": "@riverine"},
  "type": "h3",
  "version": "2.3.1",
  "label": {},
  "legend": {"displayName": "auto"}
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.felt.com/felt-style-language/types-of-visualizations/h3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
