Skip to main content Skip to complementary content

Visualizing output data

About this task

You can build a bar chart on each of the clusters to visualize the number of customers grouped by different regions or channels.

Procedure

Use tHDFSInput and tBarChart components in two Jobs to read the output HDFS files and generate a bar chart on the data to ease technical analysis.
In the first Job, tHDFSInput reads the region output HDFS file and passes the flow to tBarChart. tBarChart reads data from the input flow and transforms it into a bar chart in a PNG image file.
In the second Job, tHDFSInput reads the channel output HDFS file and passes the flow to tBarChart which transforms the input data into a bar chart in a PNG image file.
Each bar chart has three columns, every column represents the number of records in one cluster.
For further information about the tHDFSInput component, see tHDFSInput and for more information about the tBarChart, see tBarChart.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!