The Data type is used as a basic container for all the chart datasets, along with the corresponding labels
All datasets for a chart are contained in a single Data object This also specifies the category labels, which are shared across datasets (eg. multiple bar charts with the same categories)
Data object with no labels or datasets defined
Data object with specified labels but no datasets
Build a Data object from a list of labels and a list of datasets
Add a dataset to a Data object This is very useful for use with the |> operator
defaultData
|> addDataset dataset1
|> addDataset dataset2
Type wrapper for an individual dataset
While this type should match the overall chart type, it is possible to put multiple types of dataset on one chart