Skip to content

Instantly share code, notes, and snippets.

@nautilytics
Created January 2, 2020 15:50
Show Gist options
  • Select an option

  • Save nautilytics/ffadc1a9905a071f70b1501b4f85f8fa to your computer and use it in GitHub Desktop.

Select an option

Save nautilytics/ffadc1a9905a071f70b1501b4f85f8fa to your computer and use it in GitHub Desktop.
An example of creating an axis using D3
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