observe the viewshed analysis in analysis in the given link
This is not something available in the open source CesiumJS library. However, it is on our roadmap to include with Cesium ion. If you are interested in purchasing this capability, you can send an email to t...@cesium.com