link : https://codepen.io/Koustubh26/pen/JjYrgKQ
Require feedback and improvement suggestions
Thank you
link : https://codepen.io/Koustubh26/pen/JjYrgKQ
Require feedback and improvement suggestions
Thank you
Hi Mate,
When i try to look at the full page view, codepen tells me i cant as you havent verified your account?
Ive checked the HTML and CSS, they seem 100%. JS is missing 2x semicolons, so thats also pretty darned good.
but i would like to see your site in fullscreen…
Hi
I’ve verified my email
Can you please check again
Thanks
Also, any suggestions or modifications are welcomed
Hi Mate,
Its quite honestly brilliant, i dont know enough about JS so cant comment on that code.
some items to improve on perhaps;
Great work!
Good job. I love d3.js. In addition to the comments above, it is important to give the svg
element a height and width attribute because i notice some countries have been cut off (Or give the map a scale).
For JS
At line 15, what is g
? A little description in the name would help.
At line 68, please put 187
into a descriptive constant variable, same goes for line 53.
At line 74, it should be more expressive to use string interpolation (backticks and ${variable})
From line 68 to 77 and 52 to 69, it’s probably a better idea to just put them into separate smaller functions/methods. It seems, mapFun
is doing too many things. Do keep the function/method small.
Thanks all for your valuable suggestions.
I’ll try to implement it.
Thanks for taking time and reviewing my work