Anyone who can write an APL function should be able to host it on the web.™
Rendered webpage |
APL code |
:Class d3Simple : MiPageSample
⍝ Control:: _JS.dimple
⍝ Description:: Dimple data chart
∇ Compose
:Access Public
Add _.d3 ScriptFollows
⍝// Update
⍝var p = d3.select("#contentblock").selectAll("p")
⍝ .data([4, 8, 15, 16, 23, 42])
⍝ .text(String);
⍝
⍝// Enter
⍝p.enter().append("p")
⍝ .text(String);
⍝
⍝// Exit
⍝p.exit().remove();
∇
:EndClass