Tags:
BlogRecent1Add my vote for this tag create new tag
view all tags

TWiki and D3JS Playing Together Nicely Finally

Sweet. Behold an actual working version of TWiki playing together nicely with the D3JS visualization tools. While I could previously get things to embed a D3JS viz (this is the Les Mis force-directed graph), I had issues in getting it within a post. It would appear at the bottom which was kind of a bummer for blog posts.

The trick seems to be as follows:


<literal>

<!-- Put an inner arbitrary tag (I called mine renderspace) -->
  <renderspace>
  </renderspace>

<!-- Put the d3js script modified to select renderspace -->

 d3.select("renderspace").something something

</literal>

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatjson miserables.json r1 manage 12.9 K 2014-01-15 - 16:15 AaronStriegel  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r3 - 2014-05-30 - AaronStriegel
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback