# Using Treemaps

A treemap shows the hierarchical structure of the document as a set of nested rectangles. Treemaps can display even more of the document hierarchy than chart view, permitting hundreds of notes tp be browsed in a single view.

To select any note in a treemap, click on the note’s title.

### Focusing the View

Focusing a treemap view lets you focus on a specific part of your work.

To focus on a note in chart view,

- Double-click the icon of the note to be focused on, OR
- Select the note and choose Focus View from the Note menu

Treemaps do not display adornments or separators. In addition, if a note is too small to display at the current window size and scale, that note will be omitted.

###

### Visualization and Treemaps

New treemaps assign equal weight to each note they display. You can instead set the area of each note to reflect some attribute or combination of attributes of the note. In addition, each note can be colored to reflect an attribute or combination of attributes of the note.

To customize a treemap visualization, click on the “i” button in the treemap tab.

This will display the treemap popover.

The Treemap Expression adjusts the relative area of each note. If the value of a note’s $TreemapExpression is less than or equal to zero, the note will be omitted entirely; otherwise, the note’s area will be proportional to the value of TreemapExpression. TreemapExpression is frequently simply an attribute value, such as $Price or $WordCount.

The Color Expression, if specified, adjusts the color applies to each note. The expression is evaluated for each note in the view, and is chosen from a linear gradient between two colors, the Start Color and the End Color. If the Color Expression is $WordCount, then notes with the smallest word count will use Start Color, those with the largest $WordCount will use End Color, and intermediate notes will use a blend of StartColor and EndColor.