Making Visuals Interactive with Legends

A visual may become very crowded, making it hard to understand what graphical elements represent. Arcadia Instant makes it easy to find a particular series by making legends not only explanatory, but also interactive.

The following steps demonstrate how to add a legend that makes a visual interactive, by either hovering over the element, or by clicking to filter on a particular element.

Highlighting Elements by Hovering over Legend

Arcadia Instant makes it easy to find details of a particular element in the legend by hovering over it.

  1. Open any visual inside a dashboard.
  2. Make sure that the visual displays the legend. Follow the steps outlined in Changing Legend Style and Removing the Legend to turn it on.
  3. Hover on one of the options in the legend, to highlight only the data for that species. We chose versicolor.

highlighting elements by hovering over legend

This graph is also interactive in Edit mode, inside a dashboard.

Clicking to Filter on an Element

A line chart display can become very crowded, making it difficult to discern which line models a particular series. For example, the World Life Expectancy dataset models data for over 200 countries. In View mode, you can click on a particular element of a legend, and filter data for just that element.

To demonstrate this behavior, we are using the line chart of the World Life Expectancy dataset [data source samples.world_life_expectancy]. To create this chart, follow the instructions in Line Visuals.

  1. Find the visual World Population - Lines. We are demonstrating it inside a dashboard.
  2. Make sure that the visual displays the legend. Follow the steps outlined in Changing Legend Style and Removing the Legend to turn it on.
  3. Switch to Dashboard View mode.

  4. Click on one of the options in the legend for the visual, to see only the data for that country. We chose Albania.

    selecting an element by clicking on legend
  5. Notice that the new chart displays the line for Albania only. Additionally, the horizontal axis adjusts for the dimension range; Albania reports data starting in year 1934.

    Arcadia Instant lists all applicable filters at the top of the vertical axis. Hovering over them shows the values of the filters.

    displaying the line for Albania only

This graph is also interactive in Edit mode, inside a dashboard.