Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Visualization types - Area chart #2230

Closed
wants to merge 50 commits into from
Closed
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
651a237
Create new page and content for area viz type
vagimeli Dec 14, 2022
f49b949
Continue content dev
vagimeli Dec 14, 2022
013d47e
Continue content dev
vagimeli Dec 15, 2022
6a9824f
New content development
vagimeli Dec 15, 2022
6444bd1
Make quick edit
vagimeli Dec 15, 2022
ab5bd90
Create viz types page
vagimeli Dec 16, 2022
06249f7
Update navigation order details
vagimeli Dec 16, 2022
6aee297
Add aggregation-based area chart section
vagimeli Dec 16, 2022
3d2a462
Continue drafting aggregation section
vagimeli Dec 16, 2022
ed393de
Continue aggregations section
vagimeli Dec 16, 2022
b93594d
Continue writing
vagimeli Dec 16, 2022
51d69b9
Continue working on aggregation section
vagimeli Dec 21, 2022
3f929d5
Merge branch 'main' into area-2216
vagimeli Dec 27, 2022
11acec2
Draft aggregation based area chart section
vagimeli Dec 30, 2022
9154d79
Continue writing
vagimeli Dec 30, 2022
a88e173
Revise tutorial to include aggregations
vagimeli Dec 31, 2022
8a725c3
Copy edits
vagimeli Dec 31, 2022
5c589cb
Finish aggregation-based content
vagimeli Jan 3, 2023
a258dc6
Add video overview
vagimeli Jan 4, 2023
f262e40
Remove unused images
vagimeli Jan 4, 2023
841c076
Edit placeholder URLs
vagimeli Jan 4, 2023
1056b15
Remove video until next content update
vagimeli Jan 6, 2023
dbee59d
Added demo of tutorial steps
vagimeli Jan 6, 2023
568bf75
Address doc review feedback
vagimeli Jan 10, 2023
65ad0f8
Update graphics
vagimeli Jan 10, 2023
9999135
Copy edits
vagimeli Jan 10, 2023
7b6b6fd
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
1869bc3
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
d56a152
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
bb074c1
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
4954a06
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
0430b6a
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
85e98d1
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
157b6c0
Update _dashboards/visualize/area.md
vagimeli Jan 10, 2023
b5cf84b
Update _dashboards/visualize/viz-types.md
vagimeli Jan 10, 2023
70a51e8
Address editorial review
vagimeli Jan 10, 2023
a956548
Restructure Data Prepper plugins documentation (#2073)
carolxob Dec 27, 2022
47a8971
Correct the spelling of the Galician analzyer. (#2277)
MikeBenza Dec 28, 2022
72a1620
Fix Sinks and Sources in Data Prepper config (#2315)
Naarcha-AWS Dec 28, 2022
95228a9
Minor ToC edits. (#2314)
carolxob Dec 29, 2022
01814bd
Typo fix (#2307)
OrBin Jan 4, 2023
13d633d
Minor command line fixes (#2287)
Jan 4, 2023
4f8c296
Adds documentation for Job Scheduler plugin (#2242)
ariamarble Jan 5, 2023
ab9d56d
Adds alias action sample template to ISM policy page (#2269)
ariamarble Jan 5, 2023
45e965d
Adds date math documentation (#2171)
kolchfa-aws Jan 6, 2023
b2b6ffa
Creates the Kendra plugin section in Compare Search Results (#2060)
kolchfa-aws Jan 9, 2023
7cc9240
Removes cluster manager task throttling (#2360)
kolchfa-aws Jan 9, 2023
8add856
Adds Rust client documentation (#2342)
kolchfa-aws Jan 10, 2023
b8fcf66
Updated MAINTAINERS.md to match recommended opensearch-project format…
dblock Jan 10, 2023
a4a20b8
Changed nav order numbers (#2372)
kolchfa-aws Jan 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions _dashboards/visualize/area.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
layout: default
title: Using Area charts
vagimeli marked this conversation as resolved.
Show resolved Hide resolved
parent: Visualization types
grand_parent: Visualize
nav_order: 5
---

# Using Area charts
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

An area chart is a line chart with the area between the line and the axis shaded with a color, and is a primary visualization type used to display time series data. You can create area charts in Dashboards using the Area visualization type or using the TSVB, Vega, or VisBuilder visualization tools. For this tutorial, you'll use the Area visualization type.
vagimeli marked this conversation as resolved.
Show resolved Hide resolved
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

<img src="{{site.url}}{{site.baseurl}}/images/dashboards/aggregation-based-area.gif" alt="Demonstration of the area chart tutorial steps" height="100">
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

# Try it: Create a simple aggregation-based area chart

In this tutorial you'll create a simple area chart in the [OpenSearch Dashboards playground](https://playground.opensearch.org/app/home#/) using sample data and aggregations.
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

You have several aggregation options in Dashboards, and the choice influences your analysis. The use cases of aggregations vary from analyzing data in real time to using Dashboards to create a visualization dashboard. If you need an overview of aggregations in OpenSearch, see [Aggregations]({{site.url}}{{site.baseurl}}/opensearch/aggregations/) before getting started with this tutorial.
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

The Dashboards playground is read-only and will not save the session details for this tutorial.
{: .note}

## Set up the area chart

1. Select **Visualize** from the menu and then select **Create visualization**.
2. Select **Area** from the window.
3. Select **opensearch_dashboards_sample_data_flights** in the **New Area/Choose a source** window.
4. Select the calendar icon and set the time filter to **Last 7 days.**

## Add aggregations to the area chart

You'll create an area chart that displays the top five logs for flights cancelled for every three hours over the last seven days.

1. Add a **Buckets** aggregation.
vagimeli marked this conversation as resolved.
Show resolved Hide resolved
a. Select **Add** and then **X-axis** in the **Add Bucket** window.
b. From the **Aggregation** dropdown, select **Date Histogram**.
c. From the **Field** dropdown, select **timestamp**.
d. Select **Update**.
2. Add a sub aggregation.
vagimeli marked this conversation as resolved.
Show resolved Hide resolved
a. Select **Add** and then in the **Add Sub-Buckets** window, select **Split series**.
b. From the **Sub aggregation** dropdown, select **Terms.**
c. From the **Field** dropdown, select **Cancelled.**
d. Select **Update** to reflect these parameters in the graph.

You've now created the following simple aggregation-based area chart.
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

<img src="{{site.url}}{{site.baseurl}}/images/aggregation-area.png" alt="Example aggregation-based area chart in OpenSearch Dashboards" height="100">
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

# Related links

- [Visualize]({{site.url}}{{site.baseurl}}/dashboards/visualize/viz-index/)
- [Visualization types in OpenSearch Dashboards]({{site.url}}{{site.baseurl}}/dashboards/visualize/viz-types/)
- [Aggregations]({{site.url}}{{site.baseurl}}/opensearch/aggregations/)
30 changes: 30 additions & 0 deletions _dashboards/visualize/viz-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: default
title: Visualization types
parent: Visualize
has_children: true
---

# Visualization types in OpenSearch Dashboards

OpenSearch Dashboards offers a range of visualization types or tools that you can use to display your data. Use the topics in this section to learn more about the capabilities of each visualization.

## Topics
vagimeli marked this conversation as resolved.
Show resolved Hide resolved

- [Using Area charts]({{site.url}}{{site.baseurl}}/dashboards/visualize/area/)
- [Using Bar charts]({{site.url}}{{site.baseurl}}/dashboards/visualize/bar/)
- [Using Controls]({{site.url}}{{site.baseurl}}/dashboards/visualize/controls/)
- [Using Data Table]({{site.url}}{{site.baseurl}}/dashboards/visualize/data-table/)
- [Using Gantt charts]({{site.url}}{{site.baseurl}}/dashboards/visualize/gantt/)
- [Using Gauge chart]({{site.url}}{{site.baseurl}}/dashboards/visualize/guage/)
- [Using Heat maps]({{site.url}}{{site.baseurl}}/dashboards/visualize/heat-map/)
- [Using Line graphs]({{site.url}}{{site.baseurl}}/dashboards/visualize/line/)
- [Using Maps]({{site.url}}{{site.baseurl}}/dashboards/visualize/maps/)
- [Using Markdown]({{site.url}}{{site.baseurl}}/dashboards/visualize/markdown/)
- [Using Metric values]({{site.url}}{{site.baseurl}}/dashboards/visualize/metric/)
- [Using Pie charts]({{site.url}}{{site.baseurl}}/dashboards/visualize/pie/)
- [Using TSVB]({{site.url}}{{site.baseurl}}/dashboards/visualize/tsvb/)
- [Using Tag Cloud]({{site.url}}{{site.baseurl}}/dashboards/visualize/tag-cloud/)
- [Using Timeline]({{site.url}}{{site.baseurl}}/dashboards/visualize/timeline/)
- [Using VisBuilder]({{site.url}}{{site.baseurl}}/dashboards/visualize/visbuilder/)
- [Using Vega]({{site.url}}{{site.baseurl}}/dashboards/visualize/vega/)
vagimeli marked this conversation as resolved.
Show resolved Hide resolved
Binary file added images/aggregation-area.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/dashboards/aggregation-based-area.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/dashboards/area-set-up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.