title: Plotly: create horizontal timeline
body: <p>That's what i have so far...</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>Plotly.plot('graph', [{
    type: 'bar',
    y: [1,0,0],
    x: [1,2,1],
    orientation: 'h',
    base: [0,2,5]
  }, {
    type: 'bar',
    y: [1,1,1],
    x: [2,1,2],
    orientation: 'h',
    base: [0,3,5]
  }])</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;head&gt;
    &lt;script src="https://cdn.plot.ly/plotly-latest.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="graph"&gt;&lt;/div&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can I use dates on the horizontal axis instead of numeric values?</p>