<script src="https://unpkg.com/preact@6.4.0"></script>
<script src="https://unpkg.com/proptypes@0.14.3"></script>
<script src="https://unpkg.com/preact-compat@3.9.2"></script>
<script src="https://unpkg.com/habrahabr-universal-component/dist/DonutChartPreact.js"></script>

<div id="app"></div>
var React = preactCompat,
ReactDOM = preactCompat;

ReactDOM.render((
    <DonutChart 
        value = {45.2}
        total = {100}
        text = 'Hello Preact'
        />
), document.getElementById('app'));
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.