# Crossfilter categorical (Linked charts example)

> WestCoast Charts 1.1.5, release, public Core release, on npm. HTML: https://westcoast-charts.com/gallery/link/interactivity-crossfilter-categorical/ · Index for agents: https://westcoast-charts.com/llms.txt

Click a region, a product or a channel; the other charts show only the matching records. Shift-click adds to the selection.

- Chart composition: see the embedded example (3 charts)
- Collection: Linked charts · Link & crossfilter
- Charts on the page: 3
- Standalone example: https://westcoast-charts.com/embed/samples/wcc/gallery/interactivity/crossfilter-categorical.html
- Same example as: https://westcoast-charts.com/gallery/interactivity/crossfilter-categorical/index.md

## Setup

```js
import WestCoastCharts from 'west-coast-charts'
import types from 'west-coast-charts/types'
import link from 'west-coast-charts/features/link'

WestCoastCharts.use(types).use(link)
```

## Options

This example builds its charts with page controls and helpers, so there is no single options object. Read the standalone example for the source.

## Verify

- Text check (Library 1.1.5): load `west-coast-charts/agent/describe` and call `chart.describe({ format: "json" })` for the actual drawn state. The live reader is on this example’s HTML page.
- Command line (Public agent tools 0.2.3, tested with Library 1.1.5; available from the versioned GitHub release and npm, https://westcoast-charts.com/docs/cli/index.md): `wcc chart export link-interactivity-crossfilter-categorical.json --out link-interactivity-crossfilter-categorical.svg --with-table` (save the options above as JSON first)
