Unlike BizCharts, G2 initialization data is not introduced as a component, but rather you need to get the DOM under which the chart needs to be initialized. After getting the unique attribute id of that DOM, the initialization is done via chart().
DataSet has two main functions, parsing data (Connector) & processing data (Transform).
ECharts is a mature charting library, easy to use, many kinds of charts, easy to get started. The documentation is extensive, so I won't go into that here.
Comparing BizCharts and G2, BizCharts is mainly a layer of encapsulation, so that the charts can be called in the form of components, on-demand loading, more convenient to use.
Comparing the above three kinds of charts, ECharts and BizCharts are relatively easy to use, especially the configuration of ECharts is very clear, and BizCharts has some similarities with it. BizCharts advantage lies in the form of componentization, which makes the dom structure relatively clear, and on-demand references.G2 is more suitable for needing to interact with a large number of charts references. G2 is more suitable for the need for a large number of charts to interact with the reference, its rich api processing interaction logic is relatively more advantageous.
Reference links
.