d3-wind-barbs
v1.0.4
Published
D3 Wind Barb svg generator
Downloads
592
Readme
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.
How to use?
npm install --save d3-wind-barbs
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