Bubble chart label placement algorithm? (preferably in JavaScript)

后端 未结 9 683
时光取名叫无心
时光取名叫无心 2021-01-30 17:15

I\'d like to automatically place 100-200 bubble labels so that the following requirements are met:

  • Labels should not overlap
  • Labels should preferably not
9条回答
  •  野的像风
    2021-01-30 18:07

    I found an approach in Java actually for this problem that actually works and is called Force Directed Map Labeling and is an open-source academy experience.

    Here is the documentation + project source code: Force Directed Map Labeling

提交回复
热议问题