Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Visualisation


You can use different chart types by utilizing the visualisation 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"}}

HTML table

Basic table layout for datasets can be acheived with the html-table visualisation type.

visualisation: |-
    {"html-table": {}}

ChartJS charts

Beautiful ChartJS data visualisations can be acheived with the chartjs-chart visualisation type.

visualisation: |-
    {"chartjs-chart": {"chartType": "bar"}}
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: