Boilerplate starter code for Chiasm.
To get started, go ahead and edit this example on blockbuilder.org. From there you can experiment with creating your own Chiasm components and applications, then publish your work back to bl.ocks.org.
The Chiasm components demonstrated here are:
chiasm-layout
A Chiasm
plugin for nested box layout. You can use this plugin to impose a grid system
of rectangles on any collection of Chiasm components.
coloredRectangle
An example custom Chiasm component that draws a colored
rectangle using D3.js and
SVG. The naming
convention of my
for the component is inspired by the wonderful piece on
reusable D3 charts Towards Reusable
Charts.
downloadButton
Based on coloredRectangle
but with an interface to svgsaver.
For a more complex example that creates data visualizations, check out Fundamental Visualizations.
Updated missing url //rawgit.com/eligrey/FileSaver.js/master/FileSaver.js to //cdn.jsdelivr.net/gh/eligrey/filesaver.js/filesaver.js
Updated missing url //rawgit.com/Hypercubed/svgsaver/v0.3.0/browser.min.js to //cdn.jsdelivr.net/gh/hypercubed/svgsaver/v0.3.0/browser.min.js
https://curran.github.io/model/cdn/model-v0.2.4.js
https://chiasm-project.github.io/chiasm-component/chiasm-component-v0.2.1.js
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js
https://chiasm-project.github.io/chiasm/chiasm-v0.2.0.js
https://chiasm-project.github.io/chiasm-layout/chiasm-layout-v0.2.2.js
https://rawgit.com/eligrey/FileSaver.js/master/FileSaver.js
https://rawgit.com/Hypercubed/svgsaver/v0.3.0/browser.min.js