Generates wind barbs for your meteorological visualizations in a dead simple way.
This library is fully customizable, from colors to bars and triangle angle.
npm install --save d3-wind-barbsconst 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
