Skip to content

Bar Chart

A bar chart of neighborhood areas linked to the map: click bars to highlight neighborhoods.

Live Playground

Interaction

Double click a feature on the map to select it. The selection is shared with the plot, and selecting in the plot highlights the matching features on the map.

Highlights

  • plot section with mark: 'bar'
  • events: ['click']
  • mapRef links the plot to a map layer

This example comes from the autk-grammar repository.

Released under the MIT License.