In this lesson, we will explore chart reference lines, which are crucial for providing context to your visualizations.
Reference lines help to determine if a value is good or bad, by allowing comparisons to baselines, business targets, averages, competitor data, and other relevant benchmarks.
Most chart types, such as bar charts and time series, can incorporate reference lines. There are two primary methods for adding reference lines:
To add reference lines to a chart, select the chart and navigate to the "style" tab. Click on "add a reference line" and choose the type of reference line you wish to add.
If you select a constant value, you can input the value, axis, name, color, and line style. If you select a metric, you can choose a metric from your chart and the calculation type (median, average, percentile, minimum, maximum). These dynamic reference lines will update based on the chart's data and filters.
Another option for reference lines is using parameters.
Looker Studio Parameters allow users to input custom values as reference lines. This feature provides flexibility, as users can change the reference line value without needing to contact the report creator. To set up a parameter-based reference line, choose "parameter" instead of "constant value" or "metric" when adding a reference line. Define the parameter and apply it to the input for the viewer to adjust as needed.
In summary, chart reference lines offer valuable context to your data visualizations by allowing comparisons to various benchmarks. Utilizing static, dynamic, or parameter-based reference lines can enhance your charts and make them more informative and actionable for your audience.
<aside> <img src="/icons/arrow-down-basic_blue.svg" alt="/icons/arrow-down-basic_blue.svg" width="40px" />
<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/f198202f-2d4c-4dd4-a450-58f6e3fb7a8b/abeb72bd-829f-44e6-b083-7e6fac3db8c7/icon-primary.svg" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/f198202f-2d4c-4dd4-a450-58f6e3fb7a8b/abeb72bd-829f-44e6-b083-7e6fac3db8c7/icon-primary.svg" width="40px" /> Enroll in Looker Studio Masterclass →
</aside>
📩 Receive my weekly Looker Studio tips
🖇 Connect with me on LinkedIn
</aside>