Skip to content
Open
Changes from all commits
Commits
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
14 changes: 7 additions & 7 deletions en/tutorial/data-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

# Data Transform

`Data transform` has been supported since Apache ECharts<sup>TM</sup> 5. In echarts, the term `data transform` means that generate new data from user provided source data and transform functions. both This feature is enable users to process data in declarative way, and provides users some common "transform functions" to make that kind of tasks "out-of-the-box". (For consistency in the context, the noun form of the word we keep using the "transform" rather than "transformation").
`Data transform` has been supported since Apache ECharts<sup>TM</sup> 5. In echarts, the term `data transform` refers to generating new data from user provided source data using transform functions. This feature enables users to process data in declarative way and provides several common "transform functions" to make such tasks work "out-of-the-box". (For consistency, we use the noun form "transform" rather than "transformation.")

The abstract formula of data transform is: `outData = f(inputData)`, where the transform function `f` can be like `filter`, `sort`, `regression`, `boxplot`, `cluster`, `aggregate`(todo) ...
With the help of those transform methods, users can be implements the features like:
The abstract formula of a data transform is: `outData = f(inputData)`, where the transform function `f` can be `filter`, `sort`, `regression`, `boxplot`, `cluster`, `aggregate`(planned), and so on.
With these transform functions, users can:
+ Partition data into multiple series.
+ Make some statistics and visualize the result.
+ Adapt some visualization algorithms to data and display the result.
+ Compute statistics and visualize the results.
+ Adapt visualization algorithms to the data and display the results.
+ Sort data.
+ Remove or choose some kind of empty or special datums.
+ Remove or choose certain kind of empty or special datums.
+ ...


## Get started to data transform

In echarts, data transform is implemented based on the concept of [dataset](~dataset). A [dataset.transform](option.html#dataset.transform) can be configured in a dataset instance to indicate that this dataset is to be generated from this `transform`. For example:
In echarts, data transform is implemented based on the concept of [dataset](option.html#dataset). A [dataset.transform](option.html#dataset.transform) can be configured in a dataset instance to indicate that this dataset is to be generated from this `transform`. For example:

```ts
var option = {
Expand Down