Spells

Spells provide reusable configuration snippets for datavzrd. These spells simplify the process of creating reports by allowing users to define common configurations in a modular way. Users can easily pull spells from local files or remote URLs, facilitating consistency and efficiency in data visualization workflows.

Below is a list of all the available spells in the datavzrd-spells repository. For adding new spells, please see the instructions in the datavzrd-spells repository.

p-value

https://img.shields.io/badge/code-github-blue

This spell generates a heatmap visualization to represent the distribution of p-values or statistical significance in data. The heatmap uses a linear color scale to map values to a gradient from green over white to organge. The significance_threshold (e.g., p = 0.05) - a boundary between statistical significance and non-significance - can be adjusted dynamically based on the context or dataset.

Example

render-table:
  columns:
    some p-value column:
      spell:
        url: v1.1.3/stats/p-value
        with:
          significance_threshold: 0.05

Authors

Johannes Köster, Felix Wiegand

boolean

https://img.shields.io/badge/code-github-blue

This spell visualizes boolean values via colored +/- symbols.

Example

render-table:
  columns:
    some boolean column:
      spell:
        url: v1.1.3/logic/boolean
        with:
          # specify which values should be interpreted as true or false
          true_value: "true"
          false_value: "false"

Authors

Johannes Köster