Yii - char / dashboards


I am new to yii and am trying to create charts/dashboards based on data available in the database, does anyone have an example of how to create this type of chart and what is needed? I’ve seen some tutorials, but they do not do it with databases.