News for hackers. Stuff that matters.
Re:Show HN: I made a gallery of graphs built with React and ... by vidyesh on Friday June 23, 2023 @02:09PM (#36450331)
I really like the power of D3 but I have tried and failed at learning D3.js properly, I was unable to understand basic bars and graphs but the same reason you mentioned I find it difficult to advance, SVG manipulation with a big dataset is difficult after some point to create a complex visualizations.

Any good resources you could share that has helped you? Thank you.

Re:Show HN: I made a gallery of graphs built with React and ... by xnx on Friday June 23, 2023 @03:54PM (#36451480)
Observable Plot (based on D3) might be a better place to start: https://observablehq.com/blog/introducing-observable-plot
Re:Show HN: I made a gallery of graphs built with React and ... by holtzy on Saturday June 24, 2023 @04:51PM (#36462550)
I also have the d3 graph gallery. It shows only simple charts which ease the learning curve

d3-graph-gallery.com

Re:Show HN: I made a gallery of graphs built with React and ... by vidyesh on Monday June 26, 2023 @11:38PM (#36488601)
Thank you.

Really nice gallery. I think this will serve as a great reference material for me when learning.

Re:Show HN: I made a gallery of graphs built with React and ... by mjfisher on Monday June 26, 2023 @01:44PM (#36483098)
A bit late on the reply, but someone else mentioned observable HQ for lots of examples.

I found this YouTube video of someone walking through creating a bar chart helpful - the author explains as he goes:

https://youtu.be/BDpBAFvdjYo

Beyond that, copying and pasting working examples and trying to adjust them for your purposes works really well. I still don't fully understand the API but it doesn't seem to matter that much to start with - I'm still in the "monkey see, monkey do, monkey iterate" phase.

Re:Show HN: I made a gallery of graphs built with React and ... by vidyesh on Monday June 26, 2023 @11:41PM (#36488619)
I have tried ObservableHQ but I am not sure it helps me understand D3 as much as it does help me use it like a Jupyter notebook.

And unlike Jupyter, ObservableHQ notebook does a lot of heavy lifting when it comes to creating charts for the web which outside that makes it really difficult to adapt to.

I guess I will have to follow the monkey rule until I really understand it well and need to learn desperately.