 .append("div")
    .attr("class", "modal-container")
    .attr("id", "m1-o")
    .attr('style', '--m-background: transparent;')

var buttons = d3.select(".option").selectAll("button")
    .data(["port", "org", "city", "country"])
    .enter()
    .append("button")
    .attr("id", function(d) {
        return d;
    })
    .text(function(d) {
        return d;
    })


function restart(btn, file) {

    d3.json(file, function(error, graph) {

        // --- creating palette as object for Ports, org and Citi