
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
d3-simple-sankey
Advanced tools
Reusable Sankey graph visualization using d3.js.
This is a very simple wrapper around http://bl.ocks.org/d3noob/5028304.
In d3 >=4.0, you should use mbostock own d3-sankey plugin here https://github.com/d3/d3-sankey.
You can install d3-simple-sankey using npm
:
npm install d3-simple-sankey
For Bower users, even if Bower is not officially supported, you can still use GitHub URL such as:
{
"dependencies": {
"eventDrops": "cerisier/d3-simpe-sankey#0.1.0"
}
}
Include the dist/d3.sankey.min.js
script in your page after d3:
<script src="path/to/d3.js"></script>
<script src="src/d3.sankey.min.js"></script>
In the HTML source, create a new Sankey chart, bind data to a DOM element, then call the chart on the element.
var chart = d3.chart.sankey();
d3.select('svg#chart')
.datum(data)
.call(chart);
See for the required data format.
Data example coming soon...
MIT
FAQs
Reusable Sankey graph visualization using d3.js
We found that d3-simple-sankey 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.