Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

How do you make a donut pie chart with pure SVG?

<svg height="200" viewBox="0 0 200 200" width="200">
<style>
circle{
stroke-dasharray:;
}
.circle{

}

.circle{

}

</style>
<cirlcle class="circle" cx="" cy="" r=" "/>
<circle class="circle2" cx="" cy="" r=" "/>


</svg>

That looks a little bit like this https://lh3.googleusercontent.com/lFQW9EEIDOoguV13QFjcanrM--idLeZSoZ0xkV1tZkEnhadVORnyGkUk7kcWTwYWsxqzIgGapoKdzlUV7mSb5R6729fD0cNIeF8w=w1064-v0. I want the two circles inside the SVG to look like that picture above.