A detail of mu 'Occupations' project The basics Let me illustrate this with several examples. But circle packing is definitely not the only case when placing text on a non-straight line could come in handy. Placing the titles of parent circles on the outer edge of the circle seemed like the most fitting alternative in my opinion. Placing the labels of each category on an arc following the slices' curveīecause I’ve placed bar charts inside each circle in the Occupations piece, I couldn’t just put the text in the middle of a circle as well, like the standard zoomable pack layout has. And how to combine this with d3’s existing donut-chart-like layouts. In this tutorial I want to go into something I’ve learned while creating a personal project called A Closer Look into the Division of Occupations & Age: how to place SVG text on arcs or paths. Posted on SeptemPlacing text on arcs with d3.js
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |