Forked from Mike Bostock's example. TopoJSON for congressional districts.
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
<!-- | |
You are free to copy and use this sample in accordance with the terms of the | |
Apache license (http://www.apache.org/licenses/LICENSE-2.0.html) | |
--> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>Mapping Status Timeline</title> | |
<script type="text/javascript" src="http://www.google.com/jsapi"></script> |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
svg { | |
font: 10px sans-serif; | |
} | |
path { | |
fill: steelblue; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This choropleth encodes unemployment rates from 2008 with a quantize scale ranging from 0 to 15%. A threshold scale is a useful alternative for coloring arbitrary ranges.
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
class Contact < ActiveRecord::Base | |
hobo_model # Don't put anything above this | |
fields do | |
name :string | |
timestamps | |
end | |
belongs_to :title |
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
<include src="rapid" plugin="hobo"/> | |
<include src="taglibs/auto/rapid/cards"/> | |
<include src="taglibs/auto/rapid/pages"/> | |
<include src="taglibs/auto/rapid/forms"/> | |
<set-theme name="clean"/> | |
<def tag="app-name">My First App</def> |
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
<include src="rapid" plugin="hobo"/> | |
<include src="taglibs/auto/rapid/cards"/> | |
<include src="taglibs/auto/rapid/pages"/> | |
<include src="taglibs/auto/rapid/forms"/> | |
<set-theme name="clean"/> | |
<def tag="app-name">My First App</def> |
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
class Archive < ActiveRecord::Base | |
hobo_model # Don't put anything above this | |
fields do | |
name :string | |
timestamps | |
end | |
belongs_to :workspace |
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
<!-- AUTOMATICALLY GENERATED FILE - DO NOT EDIT --> | |
<def tag="form" for="Contact"> | |
<form merge param="default"> | |
<error-messages param/> | |
<field-list fields="name, company, description" param/> | |
<div param="actions"> | |
<submit label="#{ht 'contacts.actions.save', :default=>['Save']}" param/><or-cancel param="cancel"/> | |
</div> | |
</form> |
OlderNewer