How can I d3.js Different char input data in flask mysql?
<p>I have a Question.</p>

<p>I will use to d3.js using Different chart.</p>

<p>How can I input data using mysql?</p>

<p>Generally, many examples using csv or tsv data.
I know that using this.
But.. I wanna using mysql not csv or tsv dataset.</p>

<p>How can I do this? </p>

<p>data is here</p>

<pre><code>  Date        Temperature      Humidity
2010-01-01        50              40
2010-01-02        55              35
   ...            ...             ...
</code></pre>

<p>I using web development using flask.
data is getting json.</p>

<p>example)</p>

<pre><code>   var data = JSON.parser({{ data | tojson}});
</code></pre>

<p>Thanks</p>