D3 Wind Barb svg generator
npm install d3-wind-barbs




Generates wind barbs for your meteorological visualizations in a dead simple way.
This library is fully customizable, from colors to bars and triangle angle.
``bash`
npm install --save d3-wind-barbs
`typescript``
const windBarb = new D3WindBarb(
40 / wind speed in knots /,
135 / wind direction angle /
).draw();
Click here to see the full documentation.
Or here to play with it in Stackblitz