#Trying to get the image on the assignment.

7 messages · Page 1 of 1 (latest)

bleak plank
#

When building the visualization, it makes sense to group the data by its days. For each day, create a g element. Draw a respective path element between the current and the next timestamp for each stock within each created g. Think of plotting the higher value first to make the smaller elements visible.
Additional Hint: To avoid vertical rendering lines between the paths, set the css attribute
shape-rendering. (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering)

MDN Web Docs

The shape-rendering attribute provides hints to the renderer about what tradeoffs to make when rendering shapes like paths, circles, or rectangles.

#

You can see my code here

bleak plank
#

Is there anyone who is available right now that can take a look at my code. I am not able to do anything and it is not working.... It has been 6 hours

lament acorn
#

Your initial post sounds like an exercise description.
Creating a groupElement per day sounds like you where supposed to use vanilla SVG?