chart = {
const svg = d3.create("svg")
.attr("viewBox", [0, 0, width, 600]);
const globalG = svg.append('g')
.attr('id','global-g')
.attr('transform', `translate(${margin.left}, ${margin.top})`);
const circles = globalG.append('g')
.attr('id','circles-g')
.attr('class', 'circles')
.selectAll('circle')
.data(data_train_count)
.join('circle')
.attr('r', d=>rScale(d["车次数量"]))
.attr('fill', 'steelblue')
return svg.node();
}