JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://d3js.org/d3.v3.min.js"></script>
<div id="map"></div>

JavaScript

$(document).ready(function () {

    var json, map,
    path, vis, xy,
    duration, offset, origin_x, origin_y, len, group, circle;

    json = {
        "type": "FeatureCollection",
            "features": [{
            "type": "Feature",
                "geometry": {
                "type": "LineString",
                    "coordinates": [
                    [-75.194946527,
                    43.093336741,
                        "138.2"],
                    [-75.194946527,
                    43.093336741,
                        "138.2"],
                    [-75.195343494,
                    43.09307428,
                        "139.8"],
                    [-75.195794106,
                    43.092815735,
                        "140.7"],
                    [-75.196196437,
                    43.092298642,
                        "142.0"],
                    [-75.196588039,
                    43.091801132,
                        "143.0"],
                    [-75.197113752,
                    43.091190011,
                        "143.2"],
                    [-75.200815201,
                    43.086661261,
                        "152.0"],
                    [-75.202842951,
                    43.084130343,
                        "161.1"],
                    [-75.205750465,
                    43.08062763,
                        "158.5"],
                    [-75.206329823,
                    43.079945871,
                        "159.8"],
                    [-75.207724571,
                    43.078268868,
                        "162.8"],
                    [-75.208051801,
                    43.077927976,
                        "163.0"],
                    [-75.208357573,
                    43.077653694,
                        "163.6"],
                    [-75.20884037,
                    43.077304962,
                        "164.8"],
                    [-75.209312439,
                    43.077046351,
                       ...