feddelegrand7 / ddplot

Create D3 based SVG graphics easily from R
https://feddelegrand7.github.io/ddplot/
GNU General Public License v3.0
44 stars 1 forks source link

Legend and titles #1

Open JobNmadu opened 3 years ago

JobNmadu commented 3 years ago

This app is very interesting and can go places. I have used the piechart function successfully. However, where the legend i.e. "names" is lengthy, it can cause distortion to the visuals. What I suggest is that you should make legend optional while making it possible to inserted "names" directly inside the piechart for example.

Congratulations!

feddelegrand7 commented 3 years ago

Hi @JobNmadu thank you for your feedback. I'll definitely take a look though I'm not sure if I can insert legends inside the piecharts as sometimes the pie surface is smaller than the legend itself.

feddelegrand7 commented 3 years ago

@JobNmadu could you please provide the code in which you noticed this problem ?

JobNmadu commented 3 years ago

Not a problem but just improvement.

[image: image.png] This was a piechart I produced, the names are 37 hence a bit messy.

[image: image.png] This is from ggplot without legend using the same data but clearly more appealing than yours. The legend is removed.

Job N Nmadu. experience, expertise, efficiency: eternity in view! Professor, Department of Agricultural Economics and Farm Management

Dean of the School of Agriculture and Agricultural Technology,

Federal University of Technology, Minna, Nigeria (www.futminna.edu.ng http://www.futminna.edu.ng/).

&

President and Fellow, Nigerian Association of Agricultural Economists (www.naae.org.ng http://www.naae.org.ng/)

www.jobnmadu.com http://www.jobnmadu.blogspot.com/ @.***

@. @.>

On Fri, May 14, 2021 at 6:08 PM Ihaddaden Mohamed El Fodil < @.***> wrote:

@JobNmadu https://github.com/JobNmadu could you please provide the code in which you noticed this problem ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/feddelegrand7/ddplot/issues/1#issuecomment-841379776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJNZKYQAZ7UM6O4IGQB2BLTNVKIXANCNFSM444HOWHA .

feddelegrand7 commented 3 years ago

thank you @JobNmadu

I'm sorry however I can't see the pictures.

Best.

JobNmadu commented 3 years ago

Okay, perhaps some network glitch.

Job N Nmadu. experience, expertise, efficiency: eternity in view! Professor, Department of Agricultural Economics and Farm Management

Dean of the School of Agriculture and Agricultural Technology,

Federal University of Technology, Minna, Nigeria (www.futminna.edu.ng http://www.futminna.edu.ng/).

&

President and Fellow, Nigerian Association of Agricultural Economists (www.naae.org.ng http://www.naae.org.ng/)

www.jobnmadu.com http://www.jobnmadu.blogspot.com/ @.***

@. @.>

On Fri, May 14, 2021 at 8:20 PM Ihaddaden Mohamed El Fodil < @.***> wrote:

thank you @JobNmadu https://github.com/JobNmadu

I'm sorry however I can't see the pictures.

Best.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/feddelegrand7/ddplot/issues/1#issuecomment-841452447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJNZK6EYD3P35CVAIS4XSLTNVZYDANCNFSM444HOWHA .

feddelegrand7 commented 3 years ago

that's fine, will work on the improvement :) thanks again.