grafana/docs/sources/panels-visualizations/visualizations/_index.md
Jack Baldry c1c48dd610
Use relative aliases for all non-current Grafana aliases (#60062)
* Use relative aliases for all non-current Grafana aliases

Prevents non-latest documentation "stealing" the page away from latest
and through permanent redirects for latest pages that no longer exist.

The redirected pages are indexed by search engines but our robots.txt
forbids them crawling the non-latest page.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove aliases from shared pages

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Rewrite all current latest aliases to be next

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Fix typo in latest alias

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Remove all current page aliases

find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \;

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Prettier

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-09 12:36:04 -04:00

5.1 KiB

aliases title weight
../features/panels/graph/
../panels/visualizations/
../panels/visualizations/graph-panel/
../reference/graph/
../visualizations/
../visualizations/graph-panel/
Visualizations 75

Visualizations

Grafana offers a variety of visualizations to support different use cases. This section of the documentation highlights the built-in panels, their options and typical usage.

Note: If you are unsure which visualization to pick, Grafana can provide visualization suggestions based on the panel query. When you select a visualization, Grafana will show a preview with that visualization applied.

  • Graphs & charts
    • [Time series]({{< relref "time-series/" >}}) is the default and main Graph visualization.
    • [State timeline]({{< relref "state-timeline/" >}}) for state changes over time.
    • [Status history]({{< relref "status-history/" >}}) for periodic state over time.
    • [Bar chart]({{< relref "bar-chart/" >}}) shows any categorical data.
    • [Histogram]({{< relref "histogram/" >}}) calculates and shows value distribution in a bar chart.
    • [Heatmap]({{< relref "heatmap/" >}}) visualizes data in two dimensions, used typically for the magnitude of a phenomenon.
    • [Pie chart]({{< relref "pie-chart/" >}}) is typically used where proportionality is important.
    • [Candlestick]({{< relref "candlestick/" >}}) is typically for financial data where the focus is price/data movement.
  • Stats & numbers
    • [Stat]({{< relref "stat/" >}}) for big stats and optional sparkline.
    • [Bar gauge]({{< relref "bar-gauge/" >}}) is a horizontal or vertical bar gauge.
  • Misc
    • [Table]({{< relref "table/" >}}) is the main and only table visualization.
    • [Logs]({{< relref "logs/" >}}) is the main visualization for logs.
    • [Node Graph]({{< relref "node-graph/" >}}) for directed graphs or networks.
    • [Traces]({{< relref "traces/" >}}) is the main visualization for traces.
    • [Flame Graph]({{< relref "flame-graph/" >}}) is the main visualization for profiling.
  • Widgets
    • [Dashboard list]({{< relref "dashboard-list/" >}}) can list dashboards.
    • [Alert list]({{< relref "alert-list/" >}}) can list alerts.
    • [Text panel]({{< relref "text/" >}}) can show markdown and html.
    • [News panel]({{< relref "news/" >}}) can show RSS feeds.

Get more

You can add more visualization types by installing panel panel plugins.

Examples

Below you can find some good examples for how all the visualizations in Grafana can be configured. You can also explore play.grafana.org which has a large set of demo dashboards that showcase all the different visualizations.

Graphs

For time based line, area and bar charts we recommend the default [Time series]({{< relref "time-series/" >}}) visualization. This public demo dashboard contains many different examples for how this visualization can be configured and styled.

{{< figure src="/static/img/docs/time-series-panel/time_series_small_example.png" max-width="700px" caption="Time series" >}}

For categorical data use the [Bar chart]({{< relref "bar-chart/" >}}) visualization.

{{< figure src="/static/img/docs/bar-chart-panel/barchart_small_example.png" max-width="700px" caption="Bar chart" >}}

Big numbers & stats

The [Stat]({{< relref "stat/" >}}) visualization shows one large stat value with an optional graph sparkline. You can control the background or value color using thresholds or color scales.

{{< figure src="/static/img/docs/v66/stat_panel_dark3.png" max-width="1025px" caption="Stat panel" >}}

Gauge

If you want to present a value as it relates to a min and max value you have two options. First a standard [Radial Gauge]({{< relref "gauge/" >}}) shown below.

{{< figure src="/static/img/docs/v66/gauge_panel_cover.png" max-width="700px" >}}

Secondly Grafana also has a horizontal or vertical [Bar gauge]({{< relref "bar-gauge/" >}}) with three different distinct display modes.

{{< figure src="/static/img/docs/v66/bar_gauge_lcd.png" max-width="700px" >}}

Table

To show data in a table layout, use the [Table]({{< relref "table/" >}}) visualization.

{{< figure src="/static/img/docs/tables/table_visualization.png" max-width="700px" lightbox="true" caption="Table visualization" >}}

Pie chart

Grafana now ships with an included [Pie chart]({{< relref "pie-chart/" >}}) visualization.

{{< figure src="/static/img/docs/pie-chart-panel/pie-chart-example.png" max-width="700px" lightbox="true" caption="Pie chart visualization" >}}

Heatmaps

To show value distribution over, time use the [heatmap]({{< relref "heatmap/" >}}) visualization.

{{< figure src="/static/img/docs/v43/heatmap_panel_cover.jpg" max-width="1000px" lightbox="true" caption="Heatmap" >}}

State timeline

The state timeline panel visualization shows discrete state changes over time. When used with time series, the thresholds are used to turn the numerical values into discrete state regions.

{{< figure src="/static/img/docs/v8/state_timeline_strings.png" max-width="700px" caption="state timeline with string states" >}}