Template Tags API¶
Loading¶
Tags¶
{% d3_scripts %}¶
Load D3.js and all chart modules. Call once per page.
{% d3_render chart %}¶
Render a chart instance.
{% d3_render chart %}
{% d3_render chart theme="dark" %}
{% d3_render chart theme="bootstrap" height=500 width=800 %}
Overridable parameters: theme, palette, height, width, title, animate.
{% d3_json chart %}¶
Output raw JSON config for client-side rendering.