flask-chartist-example/app/templates/c3.html
Walker Waylon Scott a84fb3a90d feat(c3) Added C3 Example
Added c3 example using c3.load(JSON) to reload the data\
2017-06-28 21:05:15 -05:00

18 lines
412 B
HTML

{% from "_render_field.html" import render_field %}
<h1>Population by Nation</h1><br>
data from
<a href="https://data.world/nrippner/population-by-country1980-2010">data.world</a>
<br><br>
Created with Flask and python c3
<span class='nation' value='nation'></span>
<fieldset>
<legend>World Population</legend>
{{ render_field(form.nation) }}
<div id='chart' style='width: 100%; height: 100%'></div>