跳转至

Charts in Pipeline Builder(Pipeline Builder 中的图表)

You can use charts in Pipeline Builder to seamlessly analyze and validate intermediate data without leaving your workspace. Charts can be added from any transform node. Bar charts, including histograms are currently supported.

Add a chart

  1. To add a chart to your graph, navigate to any transform node and select the Edit option below the node. Charts can be added by searching for "chart" in the transforms search bar, or by selecting the Visualize option to the right of the search bar, highlighted in red below.

    The transforms search bar, as well as the "Visualize" icon to the right.

  2. In the Configure panel, choose the X-Axis and Y-Axis values. You can choose various aggregations for the Y-Axis values, including distinct count, max, min, median, mode, row count, sum, and more.

    An example of a chart configuration.

You can also add multiple aggregations to a single graph by selecting Add item at the bottom of the Configure panel.

A sample chart configuration with multiple aggregations.

  1. In the Format panel, you can change the chart's title and the X-Axis and Y-Axis labels.

    The Format tab in the chart configuration panel.

  2. Select Apply when you are done.

You can collapse and expand the color legend using the Legend option in the lower left corner of the chart board. You can also page through results using arrows, or select a range of results from the Show results dropdown in the lower right side of the chart.

To view previously created charts, select a transform node and open the Transformations tab below the pipeline graph, or search for "chart" in the pipeline search to view nodes with associated charts.


中文翻译

Pipeline Builder 中的图表

您可以在 Pipeline Builder 中使用图表,无需离开工作区即可无缝分析和验证中间数据。可以从任何转换节点(transform node)添加图表。目前支持柱状图(包括直方图)。

添加图表

  1. 要将图表添加到您的图中,请导航到任意转换节点,然后选择节点下方的 Edit 选项。您可以通过在转换搜索栏中搜索“chart”来添加图表,或者选择搜索栏右侧的 Visualize 选项(下图中以红色高亮显示)。

    转换搜索栏以及右侧的“Visualize”图标。

  2. Configure 面板中,选择 X-AxisY-Axis 值。您可以为 Y-Axis 值选择各种聚合(aggregations)方式,包括去重计数、最大值、最小值、中位数、众数、行数、总和等。

    图表配置示例。

您还可以通过选择 Configure 面板底部的 Add item,将多个聚合添加到同一张图表中。

包含多个聚合的图表配置示例。

  1. Format 面板中,您可以更改图表标题以及 X-AxisY-Axis 标签。

    图表配置面板中的 Format 选项卡。

  2. 完成后,选择 Apply

您可以使用图板左下角的 Legend 选项来折叠和展开颜色图例。您还可以使用箭头翻页浏览结果,或者从图表右下角的 Show results 下拉菜单中选择结果范围。

要查看之前创建的图表,请选择一个转换节点并打开数据流图下方的 Transformations 选项卡,或者在流水线搜索中搜索“chart”以查看包含关联图表的节点。