>
> Hello,
>
> I was trying to create custom visualizations using d3 and html display but
> after running the paragraph containing the code(%html), the
> results(visualizations) don't occur inside the paragraphs, instead they
> come in the background outside the paragraphs, (as in the image). This
> happens with nearly all the visualizations except for a few.[image:
> visualization0.png]
> ​The problem persists even after reducing the height and width of 'svg'
> element. Also, after clicking on the 'clear output' button of the paragraph
> which generated the output, the visualizations are not erased. Since output
> of a paragraph is not erased, multiple visualizations occur for the same
> paragraph result. For example, if I run a paragraph to generate bar chart
> five times, then five bar charts keep coming in the background
> space(outside paragraphs) one under the other. The same thing happens if
> the visualizations are generated using Helium.
>
> This may distort the structure of the notebook. However, this does not
> happen with Google Maps(tried with both html display and Helium). Please
> let me know if I'm doing something wrong or how to solve this. The chord
> diagram in the figure is at http://bl.ocks.org/mbostock/4062006 .
>
> Thanks,
> Anish.
>

Reply via email to