JSFiddle - React, Tailwind, and code Playground

by Uriel Zarnihchi

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 300px"></div>

JavaScript

$(function () {
            $('#container').highcharts({
                "chart": {
                    "type": "spline"
                },
                "title": {
                    "text": "",
                    "x": -20
                },
                "subtitle": {
                    "text": "",
                    "x": -20
                },
                "xAxis": {
                    
                    categories: [
                    '23 Jun',
                    '24 Jun',
                    '25 Jun',
                    '26 Jun',
                    '27 Jun',
                    '28 Jun',
                    '29 Jun'
                          ]},
                "yAxis": {
                    "title": {
                        "text": ""
                    },
                    "plotLines": [
                        {
                            "value": 0,
                            "width": 1,
                            "color": "#808080"
                        }
                    ]
                },
                "legend": {
                    "layout": "vertical",
                    "align": "right",
                    "verticalAlign": "middle",
                    "borderWidth": 0
                },
                "series": [
                    {
                        "name": "exposed",
                        "data": [
                            100,
                            200,
                            150,
                            130,
                            180,
                            200,
                            190
                        ],
                        "dashStyle": "longdash"
                    },
                    {
                        "name": "converted",
                        "data": [
                            90,
                            80,
                            70,
                            75,
                            70,
                     ...