I want to divide each country into three separately coloured areas, like this:
The proportions of the three coloured areas must based on three columns of attribute data in the country shapefile's attribute table (representing percentages of a country's total energy production).
The two ways I can think of doing this are:
- Using a fill method to colour each country with three different solid colours proportionally based on the attribute data, or
- To split each country's polygon into three polygons proportional to the attribute data (and then they can easily be given separate colours).
For the first method, the only solution I have found is Ed Rollason's technique using gradients, but I want to achieve the same thing using solid colours, not gradients.
For the second method, there is the Split Polygon plugin but that doesn't allow one to use attribute variables.
Does anyone know a method to achieve this?