JSFiddle - React, Tailwind, and code Playground

by thatdataguyau

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/series-label.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>

JavaScript

Highcharts.chart('container', {
		legend: {
    		enabled: true
    },
    title: {
        text: 'Distribution of Margin at End of Quarters'
    },
    xAxis: {
        title: {
            text: 'Margin'
        },
        },
    yAxis: [{ //Primary (Score)
        title: {
            text: "Density"
        },
    }],
    series: [{"marker": false, "data": [[-102.3, 0.0], [-101.3, 0.0], [-100.3, 0.0], [-99.3, 0.0], [-98.3, 0.0], [-97.3, 0.0], [-96.3, 0.0], [-95.3, 0.0], [-94.3, 0.0], [-93.3, 0.0], [-92.3, 0.0], [-91.3, 0.0], [-90.3, 0.0], [-89.3, 0.0], [-88.3, 0.0], [-87.3, 0.0], [-86.3, 0.0], [-85.3, 0.0], [-84.3, 0.0], [-83.3, 0.0], [-82.3, 0.0], [-81.3, 0.0], [-80.3, 0.0], [-79.3, 0.0], [-78.3, 0.0], [-77.3, 0.0], [-76.3, 0.0], [-75.3, 0.0], [-74.3, 0.0], [-73.3, 0.0], [-72.3, 0.0], [-71.3, 0.0], [-70.3, 0.0], [-69.3, 0.0], [-68.3, 0.0], [-67.3, 0.0], [-66.3, 0.0], [-65.3, 0.0], [-64.3, 0.0], [-63.3, 0.0], [-62.3, 0.0], [-61.3, 0.0], [-60.3, 0.0001], [-59.3, 0.0001], [-58.3, 0.0001], [-57.3, 0.0001], [-56.3, 0.0001], [-55.3, 0.0001], [-54.3, 0.0001], [-53.3, 0.0002], [-52.3, 0.0002], [-51.3, 0.0002], [-50.3, 0.0002], [-49.3, 0.0003], [-48.3, 0.0003], [-47.3, 0.0004], [-46.3, 0.0005], [-45.3, 0.0006], [-44.3, 0.0007], [-43.3, 0.0008], [-42.3, 0.0008], [-41.3, 0.0009], [-40.3, 0.001], [-39.3, 0.0011], [-38.3, 0.0014], [-37.3, 0.0017], [-36.3, 0.002], [-35.3, 0.0024], [-34.3, 0.0028], [-33.3, 0.0031], [-32.3, 0.0035], [-31.3, 0.0038], [-30.3, 0.0041], [-29.3, 0.0045], [-28.3, 0.0049], [-27.3, 0.0054], [-26.3, 0.0059], [-25.3, 0.0064], [-24.3, 0.0069], [-23.3, 0.0075], [-22.3, 0.0081], [-21.3, 0.0088], [-20.3, 0.0095], [-19.3, 0.0103], [-18.3, 0.0112], [-17.3, 0.012], [-16.3, 0.0129], [-15.3, 0.0137], [-14.3, 0.0146], [-13.3, 0.0154], [-12.3, 0.0161], [-11.3, 0.0168], [-10.3, 0.0175], [-9.3, 0.0183], [-8.3, 0.0192], [-7.3, 0.0201], [-6.3, 0.0209], [-5.3, 0.0216], [-4.3, 0.0222], [-3.3, 0.0227], [-2.3, 0.0232], [-1.3, 0.0236], [-0.3, 0.0239], [0.7, 0.0239],...