This is a bare-bones example of drawing polygons and points using D3 v4 while using an axis.
You can represent points in world coordinates, then use d3.scaleLinear()
to create the appropriate axis scale transform.
Built with blockbuilder.org
https://d3js.org/d3.v4.min.js