> For the complete documentation index, see [llms.txt](https://opendatafrance.gitbook.io/editorialisation-des-donnees-publiques/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://opendatafrance.gitbook.io/editorialisation-des-donnees-publiques/les-grandes-familles-de-dataviz/representer-une-repartition-les-parties-dun-tout/le-compartimentage.md).

# Le compartimentage

Le compartimentage, carte de carrés  ou Treemap  permet de visualiser une répartition avec des aires proportionnelles aux valeurs. Ce graphique permet notamment de visualiser des hiérarchies.

Difficile à lire s’il y a des valeurs très proches et/ou de petites valeurs. Il est en revanche adapté à la représentation de catégories avec de nombreuses sous catégories.&#x20;

C'est surtout dans sa version interactive (la souris révèle les valeurs) qu'il est intéressant.

![Répartition des effectifs de la FPT en 2020 (source : BIS/DGCL) - Réalisé avec Rawgraphs](/files/8FVrq56YyeMgldv39lkq)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://opendatafrance.gitbook.io/editorialisation-des-donnees-publiques/les-grandes-familles-de-dataviz/representer-une-repartition-les-parties-dun-tout/le-compartimentage.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.
