All examples By author By category About

lwthatcher

simple polygon and point

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