Boilerplate starter code for Chiasm.
This example demonstrates the minimal code required to get started developing your own Chiasm applications and custom plugins.
To get started, go ahead and edit this example on blockbuilder.org. From there you can publish your work to bl.ocks.org.
The Chiasm plugins demonstrated here are:
-
chiasm-layoutA Chiasm plugin for nested box layout. You can use this plugin to impose a grid system of rectangles on any collection of Chiasm components. -
coloredRectangleAn example custom Chiasm component that draws a colored rectangle using D3.js and SVG. The naming convention ofmyfor the component is inspired by the wonderful piece on reusable D3 charts Towards Reusable Charts.
The configuration in chiasmConfig.json is intended to show how chiasm-layout
can be set up with arbitrary levels of nested boxes. If you want something
more mininal to start from, use chiasmConfigSimplest.json.