Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not working, you overjump the creating basic axis #47

Closed
lubodrinka opened this issue Jun 27, 2018 · 2 comments
Closed

It's not working, you overjump the creating basic axis #47

lubodrinka opened this issue Jun 27, 2018 · 2 comments

Comments

@lubodrinka
Copy link

How can you get write the manual so is not use in examples? I follow your instruction in VS code, but it's still erroring scale is not defined.

<script src="https://d3js.org/d3-axis.v1.min.js"></script> <script src="https://d3js.org/d3.v5.min.js"></script>
<script>
    var axis = d3.axisLeft(scale);
    d3.select("body").append("svg")
      .attr("width", 1440)
      .attr("height", 300)
      .append("g")
      .attr("transform", "translate(0,30)")
      .call(axis);
  </script>
@lubodrinka lubodrinka changed the title It's working It's not working, you overjump the creating basic axis Jun 27, 2018
@mbostock
Copy link
Member

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! 🤗

@lubodrinka
Copy link
Author

lubodrinka commented Jun 28, 2018

I figure out, but whom create the manual is stupid. How can I should know the (scale) is not inherit function from lib d3.js? Do you realized I spent 4 hours look in VS code why its not working.
from name axis I was thinking it create axis. Where you mentioned that? after hours of googling I found web how you have to completely rewrite your manual http://www.tutorialsteacher.com/d3js/axes-in-d3,,, but in different approach.
what happened if you put there some piece of working code ? Nobody knows what actually the code doing.
There is code of g but I don't know what is output of that, why is long? Oh, god.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants