cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <script src="//variancecharts.com/cdn/variance-noncommercial-standalone-f47ffcf.min.js" charset="UTF-8"></script>

<link id="employment-shares" rel="variance-data" href="//variancecharts.com/data/employment_shares.csv">

<div id="employment">

  <h3 class="title">% of Employed Who Are Senior Managers, By Gender (2008)</h3>

  <chart id="dotplot_horizontal_range" data="#employment-shares"
         scale-x-linear="0 20">
    <guide-x class="top"></guide-x>
      <annotation class="left">{{country}}</annotation>
      <range map-extent="women men"></range>
      <dot class="women"
      <dot class="men"
    <guide-x class="bottom"></guide-x>

              #employment {
  width: 100%;
  padding: 60px 80px 100px 140px;
  color: #444444;
  font-family: Helvetica, Arial, sans-serif;
#employment h3, #employment h4 {
  text-align: center;
  margin: 0 0 80px 0;
#employment chart {
  width: 100%;
  height: 540px;
#employment guide-x.top {
  top: -60px;
#employment guide-x.bottom {
  bottom: -60px;
#employment datum:after {
  content: "";
  border-bottom: 1px dashed #dddddd;
  width: 100%;
  display: block;
#employment range {
  height: 3px;
  background-color: #cccccc;
  top: calc(50% - 1.5px);
#employment dot.men {
  background-color: #66a8d4;
#employment dot.women {
  background-color: #d4668a;
#employment annotation {
  font-size: 12px;
  font-weight: normal;
  left: -6px;

*, *:before, *:after {
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;
Loading ..................