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.
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.