HMPlot

Hover and click selection

Highlight hovered rows, toggle keyed selections, and update selection state from code.

Highlight hovered rows, toggle keyed selections, and update selection state from code.

Static preview; loading the interactive plot

<script>import { where } from "hmplot";</script>
<Plot data={observations} key="id">
  <Points x="x" y="y" select hover respond="selected"
    size={where("@hovered", 10, 7)} />
  <Text x="x" y="y" text="name" />
</Plot>