Hacker News new | ask | show | jobs
by itairall 1088 days ago
Great stuff. I had gone down this path last year with not using attr and it was so hard to find good examples like this.

The thing I never figured out was how to use d3 axis as a svg generator. Starting from scratch on each project is quite painful for the axis and d3 axis is so nice.

1 comments

You can: - call d3.axis in a useEffect - Or create your own axis component rendering some svg. It is not so hard actually.