I'm new to QGIS and I am doing some demographic analysis of Ethiopia. I have a vector map with each of the country's administrative zones:
Within the attribute table, I have data for religious demographics in each zone.
What I would like to do is have color swatches appear within each polygon (five different colors each representing the different religion), based on the proportion of the population that follows that religion. So, if one zone was 50% Protestant and 50% Muslim, that polygon would have equal amounts of red and green swatches.
Similarly, if one zone was 30% orthodox, 50% muslim and 20% protestant, there would be three color swatches present, with the color representing muslim being predominant.
Here is also a screenshot of my attribute table, as requested:
The info I'm interested in displaying is to the right: the percentage of a zone's population that follows a certain religion. For many of the areas, it is overwhelmingly a single religion, but a good amount show a lot of variation over two to three different religions.
Diagrams
tab in theLayer Properties
window is what you're looking for, but as @Matt implied, its use will depend on your attributes.