These are the code samples for The Book of OpenLayer3. Feel free to download the source code and contribute to this repository:
Basic example on how to create a ol.FeatureOverlay instance to render a circle feature.
ol.FeatureOverlay