score:0

The append("table") does create a new table every interval. You have to create the table outside setInterval().

Maybe you can declare an empty table in your html:

<table id="table1"></table>

Your javascript might look like below to update the table when the data changes

setInterval(function() {

    d3.text("https://dl.dropboxusercontent.com/s/2fe6gwt1kl5j7cb/live_laptime.csv?dl=0", function(data) {
        var parsedCSV = d3.csv.parseRows(data);

        var rows = d3.select("#table").selectAll("tr")
           .data(parsedCSV);

        rows.enter().append("tr");

        var cells = rows.selectAll("td")
           .data(function(d) { return d; });

        cells.enter().append("td");

        cells.text(function(d) { return d; });
    });
},5000);

Related Query

More Query from same tag