[020] How to Create Dashboard Charts from Report Data in CityEngine
Leverage + Visualizing + Urban Statistics summary This tutorial explores how to use the CityEngine Dashboard to transform raw CGA report data into intuitive Bar and Pie charts, allowing for immediate urban density and land-use analysis. Let's take a brief look at how to create charts using the Dashboard feature in CityEngine. The Dashboard is a powerful tool that provides visual feedback as you modify your procedural models. To follow along, we will use a CGA rule that generates random building heights, separates floors, and extracts necessary data into the Reports tab. Below is the code used for this workflow. CGA Code for Data Extraction attr BD_floor = rint(rand(1,8)) # Generates a random floor count between 1 and 8. attr BD_use = "" # Specify the building usage (e.g., School, Factory, Hospital) in the Inspector panel. Lot --> report("Building Area." + BD_use, geometry.area()) # Accumul...