Link Search Menu Expand Document

Charts


You can use different chart types by utilizing the visulisation key of the Matatika dataset YAML file.

The visualisation key contains information about displaying the chart for the insight.

Example

visualisation: |-
    {"chartjs-chart": {"chartType": "bar"}}

chartType Table

Value Description
bar Bar Chart
line Line Chart.
doughnut Doughnut Chart.
pie Pie Chart.
bubble Bubble Chart.
scatter Scatter Chart.
treemap Treemap Chart.

For more information on Chart.js, see their documentation at https://www.chartjs.org/docs/latest/


Further Reading: