August 15, 2023

Scenario: Creating a line chart to ease trend analysis – Docs for ESB 6.x

Scenario: Creating a line chart to ease trend analysis

This scenario describes a Job that reads data from a CSV file and transforms the data
into a line chart to facilitate trend analysis. The input file records how long (in
minutes) per week a person watches different TV channels over ten weeks, as shown
below:

Because the input file has a different structure than required by the tLineChart component, this use case uses the tMap component to adapt the source data to the three-column
schema of tLineChart so that a temporary CSV file can
be created as the input to the tLineChart
component.

Note:

You will usually use the tMap component to adjust
the input schema in accordance with the schema structure of the tLineChart component. For more information about how to
use the tMap component, see
Talend Studio User
Guide
and tMap.

To ensure correct generation of the temporary input file, a pre-treatment subjob is
used to delete the temporary file in case it already exists before the main Job is
executed; as this temporary file serves this specific Job only, a post-treatment subjob
is used to deleted it after the main Job is executed.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x