# Crossfilter lab (Linked charts example)

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

The link plugin: brushing one chart filters the others.

- Chart composition: see the embedded example (8 charts)
- Collection: Linked charts · Link & crossfilter
- Charts on the page: 8
- Standalone example: https://westcoast-charts.com/embed/samples/wcc/features/crossfilter.html

## Setup

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

WestCoastCharts.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-crossfilter.json --out link-crossfilter.svg --with-table` (save the options above as JSON first)
