[ Launch: crossfilter for stoners ] 075bb2ad8d89d48a11ef by derekjwilliams
A minimal demonstration of how to create an HTML bar chart with D3. Fork this template to create your own chart.
A Pen by Mike Bostock on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<h3>Scheme</h3> | |
<form id="theme-switcher"> | |
<div> | |
<input checked type="radio" id="auto" name="theme" value="auto"> | |
<label for="auto">Auto</label> | |
</div> | |
<div> | |
<input type="radio" id="light" name="theme" value="light"> | |
<label for="light">Light</label> |