Module:Chart/doc

Module Chart exports two functions: bar chart and pie chart

Stacked
Here is the same graph, with more modest height and width, using "stack", and adding "units suffix" for good measure:

Scale per group
It is possible to show each of the groups using different scale and units:

Notice the "units prefix" field: we do not need prefix for the first 2 groups, so we use colons with no content. we could write "::$" instead of " : : $".

Also note the special tooltip for the "Cars" number for 1965.

Notice the "units prefix" field: we do not need prefix for the first 2 groups, so we use colons with no content. we could write "::$" instead of " : : $".

Also note the special tooltip for the "Cars" number for 1965.

Here is an example with large number of groups - mainly to test how does it look with large number of legends.

If there are many values, x legends can be diluted by using delimiters with nothing in between:

Examples
Note that we can leave the color empty to use the default, but in order to add the link to "Pear", we had to mark the parameter by adding an extra delimiter to mark the omitted color parameter

Also note that the values can be provided with "language specific" format (like 1,000), or scientific notation like 6.4e5. In the legends, numbers will always be displayed in language-adjusted mode (can look different if module imported to other wikis).

An example for the alternative syntax with "slice 1", "slice 2" etc.