Comments (5)
@ColinEberhardt how does your implementation differ from this one?
from d3-labeler.
@gabrielflorit it doesn't differ all that much. As mentioned about D3-Labeler looks pretty good, but is inactive.
Probably the biggest difference is that d3fc-label-layout allows you to plug in different strategies.
from d3-labeler.
good to know, thanks @ColinEberhardt
from d3-labeler.
@ColinEberhardt @gabrielflorit One way it differs is d3fc-label-layout doesn't avoid label-anchor overlaps! Sometimes fc.layoutAnnealing()
doesn't even seem to avoid label-label overlaps. Not what it says on the tin.
I found d3fc-label-layout easier to adapt for laying out labels for places on a GeoJSON map, but I'll try to get D3-Labeler working and see if I get better results, since the demo never produces overlaps.
Well, I tried D3-Labeler, but couldn't get it to produce a flawless layout: https://bl.ocks.org/akaleeroy/ab24b8b3185487fa90b5448154ed5bf7
Now I'm hoping bringing d3-cola into the mix might help, but that's a stretch since it's not built for labeling so doesn't account for the proximity to anchor directive.
from d3-labeler.
Updated link to d3fc implementation:
https://github.com/d3fc/d3fc/blob/master/packages/d3fc-label-layout/README.md
from d3-labeler.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-labeler.