please format code with </> button * homework policy * asking questions
I have SVG file ( Map of Nepal). The map has 75 districts. The path has an id which is the same name as the district. As as example see the code below.
<path id=“kathmandu” fill=“#FFFA64” stroke=“#646464” stroke-width=“0.5669” stroke-linejoin=“round” stroke-miterlimit=“10” d="
M727.012,467.05c-0.146,0.101-1.151,0.361-1.24,0.317c-0.16-0.078-0.254-0.022-0.316,0.137c-0.144,0.375-0.132,0.44-0.363,0.797
i wanna use getChild() function to get the id so that i can plot the corona virus data I have. The corona virus data is a csv file. The name of districts in the csv file and the path id in SVG file is same. Is there any way to accces every districts in the SVG file by names as they are listed in my csv file. After accessing the district how to use it to plot my corona virus data in that district?
Thank you