$ rvm install ruby-2.0.0
...
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Simple tables in D3</title> | |
| <meta charset="utf-8"> | |
| <script src="http://d3js.org/d3.v3.min.js"></script> | |
| <script src="https://rawgit.com/gka/d3-jetpack/master/d3-jetpack.js"></script> | |
| <style type="text/css"> | |
| body { font-family: 'Helvetica Neue', Helvetica; font-weight: 300; padding: 20px;} | |
| th { text-align: left; } |
| <div id="chart"> | |
| <h4>Percent of adults over 25 with at least a bachelor's degree:</h4> | |
| <p><strong>Median:</strong> <span class="median"></span></p> | |
| <small>Source: <cite><a href="http://census.gov">U.S. Census Bureau</a></cite>, via <cite><a href="http://beta.censusreporter.org/compare/01000US/040/table/?release=acs2011_1yr&table=B15003">Census Reporter</a></cite></small> | |
| </div> |