JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js"></script>

CSS

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.x.axis path {
  display: none;
}

.line {
  fill: none;
  stroke: steelblue;
  stroke-width: 1.5px;
}

JavaScript

var margin = {top: 20, right: 80, bottom: 30, left: 50},
    width = 960 - margin.left - margin.right,
    height = 500 - margin.top - margin.bottom;

var parseDate = d3.time.format("%Y%m%d").parse;

var x = d3.time.scale()
    .range([0, width]);

var y = d3.scale.linear()
    .range([height, 0]);

var color = d3.scale.category10();

var xAxis = d3.svg.axis()
    .scale(x)
    .orient("bottom");

var yAxis = d3.svg.axis()
    .scale(y)
    .orient("left");

var line = d3.svg.line()
    .interpolate("basis")
    .x(function(d) { return x(d.date); })
    .y(function(d) { return y(d.temperature); });

var svg = d3.select("body").append("svg")
    .attr("width", width + margin.left + margin.right)
    .attr("height", height + margin.top + margin.bottom)
  .append("g")
    .attr("transform", "translate(" + margin.left + "," + margin.top + ")");

var data = [{"date":20111001,"New York":63.4,"San Francisco":62.7,"Austin":72.2},{"date":20111002,"New York":58,"San Francisco":59.9,"Austin":67.7},{"date":20111003,"New York":53.3,"San Francisco":59.1,"Austin":69.4},{"date":20111004,"New York":55.7,"San Francisco":58.8,"Austin":68},{"date":20111005,"New York":64.2,"San Francisco":58.7,"Austin":72.4},{"date":20111006,"New York":58.8,"San Francisco":57,"Austin":77},{"date":20111007,"New York":57.9,"San Francisco":56.7,"Austin":82.3},{"date":20111008,"New York":61.8,"San Francisco":56.8,"Austin":78.9},{"date":20111009,"New York":69.3,"San Francisco":56.7,"Austin":68.8},{"date":20111010,"New York":71.2,"San Francisco":60.1,"Austin":68.7},{"date":20111011,"New York":68.7,"San Francisco":61.1,"Austin":70.3},{"date":20111012,"New York":61.8,"San Francisco":61.5,"Austin":75.3},{"date":20111013,"New York":63,"San Francisco":64.3,"Austin":76.6},{"date":20111014,"New York":66.9,"San Francisco":67.1,"Austin":66.6},{"date":20111015,"New York":61.7,"San Francisco":64.6,"Austin":68},{"date":20111016,"New York":61.8,"San Francisco":61.6,"Austin":70.6},{"date":20111017,"New York":62.8,"San...