Created
January 2, 2020 15:50
-
-
Save nautilytics/ffadc1a9905a071f70b1501b4f85f8fa to your computer and use it in GitHub Desktop.
An example of creating an axis using D3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const xAxis = d3.select(‘svg’) | |
| .append(‘g’) | |
| .attr(‘class’, ‘axis--x’) | |
| .call(d3.axisBottom(xScale)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment