datavzrd 2.64.0

A tool to create visual HTML reports from collections of CSV/TSV tables
let show_plot_{{ index }} = {% if table == "null" %}false{% else %}true{% endif %};
let plot_{{ index }} = {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "width": "container",
    "height": 300,
    "layer": [
        {
            "data": {"values": {{ table }}},
            "mark": "bar",
            "encoding": {
                "x": {
                    "field": "bin_start",
                    "bin": "binned",
                    "title": "{{ title }}"
                },
                "x2": {"field": "bin_end"},
                "y": {"field": "value", "type": "quantitative", "title": null}
            }
        },
        {
            "data": {
                "values":[]
            },
            "mark": "rule",
            "encoding": {
                "x": {"field": "bin_start", "bin": "binned"},
                "color": {"value": "red"}
            }
        }
    ]
};