6

According to How can I dispute a tag synonym? this is the proper place to ask, "as long as we make a good argument". :)

Quite recently was marked as a synonym of . I think this is a mistake because:

  1. The API changes between version 3 and version 4 were numerous. Just look at all the changes!

    D3 4.0 now shares a flat namespace rather than the nested one of D3 3.x. For example, d3.scale.linear is now d3.scaleLinear, and d3.layout.treemap is now d3.treemap. The adoption of ES6 modules also means that D3 is now written exclusively in strict mode and has better readability. And there have been many other significant improvements to D3’s features! (Nearly all of the code from D3 3.x has been rewritten.)

    D3 selections are now immutable, generators like stack no longer modify the input data and the general update pattern — perhaps the pattern for which D3 is most well know — changed. The two versions are clearly different.

  2. This is inconsistent with every other language and framework on StackOverflow. There's a generic and then there are more specific tags like and . There's a generic and then there's a more specific . and . and and and .

Would it be possible for this synonym to be reversed?

There's also another tag for the version 4 of D3 () which is not a synonym of . Could be made a synonym of (or vice versa)?

3

1 Answer 1

3

d3.js version 4.x is still called d3.js, so the tag should never have been made with that name in the first place. At the very least, the tag should be or

I'm concerned, though, because as newer versions of d3.js come out (v5, v6, etc.), if they are compatible with v4, then, should we make them synonyms of d3.jsv4? That is just confusing and unnecessary. But we shouldn't make , etc. for each new version. At what point, then, do we switch back over to just using ?

In my opinion, the workflow for this should be that users asking d3.js v4 questions should use the tag and then just mention in their questions that they are using the new, 4th version of d3.js. I see it as the best long term solution, because it will require no system action for when newer versions of d3.js are released, and when d3.js version 3.x and below are unpopular enough that questions stop being asked frequently here, we won't have to go back and change those questions to or anything.

3
  • 2
    There's a generic python and then there are more specific tags like python-2.7 and python-3.x. There's a generic angularjs and then there's a more specific angularjs-2. javascript and ecmascript-6. ruby-on-rails and ruby-on-rails-3 and ruby-on-rails-4 and ruby-on-rails-5. Why should D3 be any different? There are a ton of differences between versions 3 and 4. Just let the users correctly tag their questions!
    – Ashitaka
    Commented Dec 2, 2016 at 2:30
  • 2
    @Ashitaka A tag (d3 or otherwise) should be right and sensible regardless of what other tags do. I don't think there should be a RoR tag for each major version, but I was not aware of those before just now, nor am I a RoR programmer. We should avoid unnecessary tag creep; tag naming should follow the skirt convention for writing a paper; broad enough to cover the subject but specific enough to keep it interesting for those trying to search for it, specifically. There's a danger of missing questions if you tag your question only with d3.js-v4 and I search for only d3.js.
    – TylerH
    Commented Dec 2, 2016 at 2:39
  • 1
    @Ashitaka If, today, a d3.js user searches for how to do something in d3.js by using d3.js as their tag, could you safely make the assumption they only want to know how to do it in version 3 or older? Could you make the assumption at all? They should see all d3.js questions, and then filter their search further by keywords, such as "v4", which in itself is too broad a term for a tag (obviously), but when paired with the tag d3.js should be very effective.
    – TylerH
    Commented Dec 2, 2016 at 2:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .