          width: 100%;
        }
    </style>
</head>

<body>

<div class="gallery" id="chart1">
    <svg></svg>
</div>
      
<script>
    nv.addGraph(function() {
      var chart = nv.models.boxPlotChart()
          .x(function(d) { return d.label })
          .y(function(d) { return d.values.Q3 })
          .staggerLabels(true)
          .maxBoxWidth(75) // prevent boxes from being incredibly wide 
          .yDomain([0, 500])
          ;
      
      d3.select('#chart1 svg')
          .datum(exampleData