
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Gauge visualization built on top of d3.
var d3gauge = require('d3-gauge');
var gauge = d3gauge(document.getElementById('simple-gauge'));
gauge.write(39);
Note: please make sure to include the appropriate css
in your page, otherwise all you'll see is a big black
circle.
npm install d3-gauge
npm explore d3-gauge
npm run demo
####gauge (el[, opts])*
Creates a gauge appended to the given DOM element.
@name Gauge @function params:
returns:
Object the gauge with a write
method
Note: have a look at the default opts
###gauge.write = function(value, transitionDuration)
Writes a value to the gauge and updates its state, i.e. needle position, accordingly. @name write @function params:
d3-gauge can be custom styled and none of the features are visible if no style is included at all.
Please have a look at the styles included here in order to get an idea of what parts you can tweak to your liking.
This implementation was highly inspired by this post.
Although lots of work went into cleaning the code up and making the gauge configurable and stylable, the main idea came from there.
MIT
FAQs
Gauge visualization built on top of d3.
We found that d3-gauge-x demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.