your own way using your prefered language, e.g., Python. 
        */
        d3.csv('platform_globalsale.csv').then(data => {
            // calculationg scales: 
            yScale.domain(data.map(yValue)).range([0, innerHeight]).padding(0.1);
            xScale.domain([0, d3.max(data, xValue)]).range([0, innerWidth]);//.nice();   
            // data-join for rectangles: 
            mainGroup.selectAll('rect').data(data).join('rect')
            .attr('height', yScale.bandwidth()).attr('width', d => xSca