How to convert JSON data into a tree image? : <p>I'm using <a href="http://treelib.readthedocs.io/en/latest/examples.html" rel="noreferrer">treelib</a> to generate trees, now I need easy-to-read version of trees, so I want to convert them into images. For example:
<a href="https://i.stack.imgur.com/sr9eC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sr9eC.png" alt="enter image description here"></a></p>

<p>The sample JSON data, for the following tree:</p>

<p><a href="https://i.stack.imgur.com/oaR1K.png" rel="noreferrer"><img src="https://i.stack.imgur.com/oaR1K.png" alt="enter image description here"></a></p>

<p>With data:</p>

<pre><code>&gt;&gt;&gt; print(tree.to_json(with_data=True))
{"Harry": {"data": null, "children": [{"Bill": {"data": null}}, {"Jane": {"data": null, "children": [{"Diane": {"data": null}}, {"Mark": {"data": null}}]}}, {"Mary": {"data": null}}]}}
</code></pre>

<p>Without data:</p>

<pre><code>&gt;&gt;&gt; print(tree.to_json(with_data=False))
{"Harry": {"children": ["Bill", {"Jane": {"children": [{"Diane": {"children": ["Mary"]}}, "Mark"]}}]}}
</code></pre>

<p>Is there anyway to use <a href="https://pypi.python.org/pypi/graphviz" rel="noreferrer">graphviz</a> or <a href="https://d3js.org/" rel="noreferrer">d3.js</a> or some other python library to generate tree using this JSON data?</p>
