Cities: Skylines

Cities: Skylines

220 ratings
Population Demographics
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
74.240 KB
Feb 27, 2021 @ 6:49am
Sep 24, 2023 @ 12:20pm
12 Change Notes ( view )

Subscribe to download
Population Demographics

Description
Show population demographics in a cross-reference grid.



Detailed Description
The demographics are displayed in a Demographics panel beside the Population Info View panel. To show the Demographics panel, click the Demographics button on the Population Info View panel. To hide the Demographics panel, click the X in the upper right corner.

On the panel, you can choose the district, opacity, row/column, and count/percent. These are described below.

District
The District dropdown allows you to choose which citizens to include:
  • Citizens in the Entire City (default)
  • Citizens that are in No District
  • Citizens that are in a specific district
The options for No District and a specific district are available only when you have at least one district.

Opacity
The Opacity slider allows you to choose the opacity of the Demographics panel. The opacity of the Population panel is not changed.

Row and Column Selections
The demographics are displayed in a grid on the panel. The Row and Column selections allow you to choose which demographics to use for the rows and columns of the grid. Any combination of row and column selection is allowed.

The intersection of a row and column in the grid shows the citizens with that combination of demographics. There is a Total row which shows the total for each column. There is a Total column which shows the total for each row. The intersection of the Total row and the Total column is the population of the selected district. Note that due to timing, the data might differ slightly from the population reported by the game.

There is a row and column for Moving In which shows the citizens moving into the selected district by row/column selection. There is a row and column for Deceased which shows the deceased citizens in the selected district by row/column selection.

The heading for each row includes a colored bar that indicates the Total for that row. The row with the highest Total has a full bar. The other bars show the Total for each row in proportion to the row with the highest Total. The bars provide a visual indication of the distribution amongst the rows. The bars for Age alternate between longer and shorter due to rounding when a citizen's internal game age is converted to a real age.

Buildings are colored according to the average demographic of citizens residing in the building for the selected column and district. For example, if Education column is selected, the building will be colored according to the average Education level (0 to 3) of the citizens in the building. When None is selected, the building color indicates number of citizens.

When the cursor is over a residential building, the selected column's demographic value for that building is shown below the cursor.

See Row/Column Selections for more details.

Count vs Percent
The Count and Percent options in the lower right of the Demographics panel allow you to choose how to display the demographics. When displaying Percent, the main part of the grid shows the percent of the selected district population while the Moving In and Deceased percents are the percent of each total respectively. Note that percents might not add up to the total percents due to rounding.

Other Notes
Child Health Center and Eldercare buildings are not included because citizens do not actually reside in the buildings, they only visit the buildings.

The demographic data updates every few seconds depending on the speed of your computer.

The Demographics panel show/hide status, opacity, row/column selections, and count/percent status are saved between games.

Compatibility
This mod does not alter game save files in any way and can be safely disabled or unsubscribed at any time.

This mod does not alter the game mechanics in any way. This mod only displays information already in the game.

This mod has been tested only on Windows but should work on Mac and Linux.

This mod is compatible with Ploppable RICO Revisited mod, CimCare Mod, and More CitizenUnits mod.

This mod may or may not work correctly if another mod is enabled that alters the logic to get building color when the Population info view is displayed.

Source Code
Available here[gitlab.com].
Change notes here.

Acknowledgments
This mod depends on Andreas Pardeike's[github.com] Harmony 2 Patching Library[github.com] provided as a mod by boformer.

The development of this mod relied on the ModTools mod by BloodyPenguin to view the internal workings of Cities Skylines.
53 Comments
sunishun Sep 24, 2023 @ 6:45pm 
Nice! Thank you for the update.
rcav8tr  [author] Sep 24, 2023 @ 12:39pm 
Release Version 3.0:
Color buildings according to selected column.
Show demographic value of individual buildings.
Remove support for Nursing Homes for Senior Citizens mod (unsupported)
Include support for CimCare mod (replacement for Nursing Homes above).
@CreatorOfWorlds Upon further thought, I was able to do it. Thanks for the suggestion.
CreatorOfWorlds Sep 10, 2023 @ 9:55am 
Just to add to my post just below
The color could be grated by how many jobless in a building there is. Otherwise perhaps use a technique like the mod i link to where different icons are used for few/more
https://steamcommunity.com/sharedfiles/filedetails/?id=2475986859&searchtext=Destination
CreatorOfWorlds Sep 10, 2023 @ 9:49am 
🦾
Thank you very much for the update.

Regarding #2.
I have always hoped for some kind of overview of the jobless and where they live.
Could it be considered to have a view that is focused on that solely, and then color the buildings where they live and not focus on who else lives in the building.
Just 'really simple'. I know there is also a lot of details within the jobless segment that is being discarded even doing that.
But an idea of where the jobless lives to see if it makes sense to create workplaces in a specific part of the city could be really great.
rcav8tr  [author] Sep 10, 2023 @ 9:40am 
Release Version 2.3:
Add opacity slider.
@CreatorOfWorlds Thanks for the #suggestion #1, I hope it helps. I assume your suggestion #2 means to color the buildings according to the selected row or column in the demographics panel. Each building can have multiple households each with multiple citizens and each citizen has its own demographics, so it would be difficult/impractical/impossible to compute a meaningful single building color based on the combined demographics of all the citizens in the building.
CreatorOfWorlds Sep 10, 2023 @ 1:51am 
Very nice mod.
A couple of suggestions:
1, would it be possible to add a 'opacity' setting so to have some level of see through of the display.
2. would it be possible to have the info view illustrate what you show in the menu. As an example where does the jobless live in the city
sunishun Aug 14, 2023 @ 3:42pm 
Thanks, for the screenshot, rcav8tr! I was looking in the wrong place. Nice work!
sugandha0901 Aug 14, 2023 @ 11:01am 
@rcav8tr Oh Nice !! I checked it. Thanks.

Is this compatible with "Life Cycle Rebalance Revisited"?
I understand, if children's are educated as this mod makes children eligible for elementary school at the age 6. But the counts shows not only educated but also few of them are "well educated" as well as few are "employed". How?

I'm surprised what is causing this issue. Let me know If you find it
rcav8tr  [author] Aug 14, 2023 @ 8:52am 
@sunishun As stated in the first paragraph of the description: "The demographics are displayed in a Demographics panel beside the Population Info View panel. To show the Demographics panel, click the Demographics button on the Population Info View panel. To hide the Demographics panel, click the X in the upper right corner."
rcav8tr  [author] Aug 14, 2023 @ 8:46am 
@sugandha0901 Job availability is not related to citizens and therefore cannot be included in this Population Demographics mod. Job availability is related to buildings. See my Building Usage mod for job statistics.