<!DOCTYPE html>
<html>

<head>
    <title>Pie Chart</title>
    <script src="d3.min.js"></script>
</head>

<body>
    <svg width="1600" height="800" id="mainsvg" class="svgs" style='display: block; margin: 0 auto;'></svg>
    <script>
        const svg = d3.select('svg');
        const width = svg.attr('width');
        const height = svg.attr('height');

        d3.csv('liaoning.csv').then(data => {
            const pie = d3.pie().value(d => d.population);
            const arcData = pie(data);
          