Ways4eu WordPress.com Blog

SPA View of ways4eu.wordpress.com

Preffered way to plot charts and draw SVGs via /r/reactjs

on Fri May 15 2020

Hi guys, I’m new to React and I absolutely love it so far.

I have a question regarding the plotting charts and other SVGs (well basically, the functionality of D3 library).

Currently I need to draw some rectangle and circles on some images, so I’m wondering what is the preferred way to do this?

I usually used D3 as mentioned before, but I read that in React, D3 is supposed to use ref and by that real DOM which isn’t preferred way, so is there an alternative or is using d3-react okay?

from Preffered way to plot charts and draw SVGs https://ift.tt/2T5QCgQ