d3 / d3-path

Serialize Canvas path commands to SVG.
https://d3js.org/d3-path
ISC License
196 stars 37 forks source link

d3-path #25

Closed Parul-Kudtarkar closed 4 years ago

Parul-Kudtarkar commented 4 years ago

Given x1, x2 and y coordinates how can I plot loops using path function? The x1 and x2 are start and end coordinates of the loop and the y coordinate corresponds to the height of the loop. I am using d3 version 3.5.17

Screen Shot 2020-02-27 at 1 14 55 PM

Thank you very much! Parul

mbostock commented 4 years ago

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.

When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.

If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.

Thank you! 🤗

Parul-Kudtarkar commented 4 years ago

Thank you very much @mbostock!