Identifies the calculation family. Keep the literal value when constructing the data object.
Usage example
import type { ChartData } from '@neural-charts/angular';
export const dataHeader = {
type: 'treemap',
} satisfies Pick<ChartData, 'type'>;Explore parts of a hierarchical total as proportional blocks.
Container width
The chart fits its available space automatically. Choose a width to simulate a different container.
Tap a data point or explore it with the pointer or keyboard.
Adjust the presentation and interaction of this example.
Open a chart to explore its data, try its options and copy its code.
Use a treemap for a nonnegative hierarchy whose parts and groups matter. Exact values and known subtotals remain available in detail; no negative leaf values.
Expand a property to learn when to use it, see its public type, and find examples where applicable.
The property data.type for this family is treemap.
Customize presentation while keeping series and point identities stable.
Identify the selection and hidden series by ID.
Select an observation with the pointer or enter the chart with Tab. Arrow keys navigate the data; Home and End move to the endpoints. Enter or Space selects, and Escape closes the detail.
The data table retains original values, including missing values and hidden series. A repeated label does not merge separate categories. Manual screen reader review remains pending.
Accessibility guideCopy the current input object with its original identifiers and values.