I'm thinking about converting a CSV file into a chloropleth map using Python for an university task. I have no clue about how I'm gonna do it. I already have the CSV file with all the info.Any idea?
Load the csv with pandas
>>1120957Load the CSV in Python, write a loop where for each value in the CSV you can do some shit (i.e. apply colors and shit).
>>1120957Find a SVG that has the regions of interest, create a value-->colour mapping table, create a mapping from the regions to the key in the CSV, then change the fill colours in the SVG and render it.