mkdocs-charts-plugin
MkDocs plugin to create plots from data using the declarative vegalite syntax. This makes it easier to build reproducible reports.
Includes supports for mkdocs-material theme features like instant loading and dark color themes.
Installation
Install the plugin using pip3:
Next, add the following lines to your mkdocs.yml:
plugins:
  - search
  - charts
extra_javascript:
  - https://cdn.jsdelivr.net/npm/vega@5
  - https://cdn.jsdelivr.net/npm/vega-lite@5
  - https://cdn.jsdelivr.net/npm/vega-embed@6
markdown_extensions:
  - pymdownx.superfences:
      custom_fences:
        - name: vegalite
          class: vegalite
          format: !!python/name:mkdocs_charts_plugin.fences.fence_vegalite
If you have no
pluginsentry in your config file yet, you'll likely also want to add thesearchplugin. MkDocs enables it by default if there is nopluginsentry set.
  
    
      Last update:
      2021-12-10
      
        
Created: 2021-12-06
                
              Created: 2021-12-06