@currankelleher's block Posts with d3-component, remixed with some hipster ipsum
colors
from the Sunlight Foundation DataViz Style Guide
This example demonstrates basic usage of d3-component. Three components are created:
heading
Renders an <h1>
element and sets its text.paragraph
Renders a <p>
element and sets its text.post
Renders a <div>
element with a class of "post"
, and composes the heading
and post
components.Built with blockbuilder.org
https://unpkg.com/d3@4
https://unpkg.com/d3-component@3
https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.23.1/babel.min.js