A speedometer visual, due to its inherent layout, takes-up a notable amount of space. A linear gauge visual is an alternative that requires less screen real estate, and I enclose a Deneb/Vega-Lite template for such a linear gauge.
This template illustrates a number of Deneb/Vega-Lite features, including:
- “transform” blocks to filter the supplied dataset to only the rows relevant to the current mark
- a Vega-Lite setting of the approximate number of x-axis labels
- a Vega-Lite sorting of the range labels
- a Deneb custom tooltip showing only the desired dataset fields
The intent of this template is not to provide a finished visual, but rather to serve as a starting point for further custom visual development.
Also included is the sample PBIX using a made-up dataset as a demo.
NOTE 1: This template is provided as-is for information purposes only, and its use is solely at the discretion of the end user; no responsibility is assumed by the author.
NOTE 2: This template was prepared using a beta version of Deneb version 1.3 (a standalone version) for illustrative purposes only, and, as such, may contain development features that will not be in the final production release.
Greg
deneb.linear_gauge.0.2.json (5.1 KB)
Deneb Templates - Linear Gauge.pbix (2.8 MB)