Any idea on how I can incorporate a raster image (JPEG, PNG, etc.) in my D3/React code on VizHub? I have two specific problems in mind.
-
Image file is local on my computer… Is there a more direct way than hosting the image someplace else and using its URL?
-
Making the image follow a similar behavior to SVG, in the sense that they maintain their relative positions and sizes and scale accordingly (ignoring that it won’t zoom in well, of course).