FiscalNote Generic Map filler

by Adam Nekola

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>

<script src="//use.typekit.net/zht7wtz.js"></script>
<script>try{Typekit.load();}catch(e){}</script>

<div id="graphic">
    <h1>Status of 2015 legislation regarding Transportation Network Companies</h1>
    <h2>Nearly the entire country<br/>(44 states) has introducted legislation to regulate ride-sharing companies. States in the Northeast have been less likely to act on such legislation this session.</h2>
    <div id="container" style="height: 200px;"></div>
    <h3>Note: Reflects bills introduced through June 23, 2015</h3>
    <div id="credit">Source: FiscalNote Prophecy
        <img src="http://localhost:3000/assets/logos/logofull_153.png"/>
    </div>
</div>

CSS

* {
    font-family: "Helvetica",sans-serif;
}
h1 {
color: #333333;
line-height:125%;
font-size: 1.2em;
font-weight: bold;
}
h2 {
color: #aaa;
font-size: 0.9em;
line-height:135%;
font-weight: 100;
    width: 200px;
}
h3 {
color: #aaa;
font-size: 0.7em;
line-height:135%;
font-weight: 100;
margin: 0 10px 10px;
}
#graphic { width: 660px; }
#graphic .wide { width: 600px; }
#credit {
    padding: 10px;
    background:#f4f4f4;
    font-size:0.7em;
    line-height:20px;
    color:#aaa;
}
#credit img {
    height: 20px;
    width:auto;
    float:right;
}

JavaScript

/* And then we plop in the map with photoshop */