block by timelyportfolio 318837735807cc53a2c5921de2a640ca

vega-lite theme

Full Screen

Built with blockbuilder.org


It seems that vega-embed will not work with some vega-lite config that is offered with vl.compile(spec, {config}). For instance, the default mark color ‘#4c78a8’ cannot be overridden with

vegaEmbed(el, vega-lite spec, {config: {mark: {fill: "#aaa"}}})

We can make it work by manually compiling with vl.compile(spec, {config}) before vega-embed. Or we can also add the config in the vega-lite spec.

forked from timelyportfolio‘s block: vega font

index.html