D3.js help with a short code fragment
Budget: €8 – €30 EUR
I am not experienced with D3 much, but was trying to do a little work as a PoC for my project. An experienced D3 developer probably can solve the problem in very little time. The code is very short and not sophisticated.
What I want to do is to have two svg objects that I want to use as buttons using the on click event listener. When clicked, new svg objects should be created (one new object for each click) The new objects should be located at some default location. (Right now the new object is created over the existing one.
The newly created objects shall be drag and dopable individually. If they happen to be at the same location, only one shall move when being drag and dropped.
Making graphics beautiful is not in this scope of this small project. Graphics can remain as they are.
Id like also some short statements if my achitectural approach is a good practice or if there are better aproaches. I. e. I try to distinguish my buttons by individual class.
If the job is done nicely, there will probably be follow up jobs.
What I want to do is to have two svg objects that I want to use as buttons using the on click event listener. When clicked, new svg objects should be created (one new object for each click) The new objects should be located at some default location. (Right now the new object is created over the existing one.
The newly created objects shall be drag and dopable individually. If they happen to be at the same location, only one shall move when being drag and dropped.
Making graphics beautiful is not in this scope of this small project. Graphics can remain as they are.
Id like also some short statements if my achitectural approach is a good practice or if there are better aproaches. I. e. I try to distinguish my buttons by individual class.
If the job is done nicely, there will probably be follow up jobs.