
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@redsift/d3-rs-geo
Advanced tools
d3-rs-geo
View @redsift/d3-rs-geo on Codepen
<script src="//static.redsift.io/reusable/d3-rs-geo/latest/d3-rs-geo.umd-es2015.min.js"></script>
<script>
var chart = d3_rs_geo.html();
d3.select('body').datum([ 1, 2, 3, 10, 100 ]).call(chart);
</script>
import { html as chart } from "@redsift/d3-rs-geo";
let eml = chart();
...
var chart = require("@redsift/d3-rs-geo");
var eml = chart.html();
...
Topojson data structure or URL
The default uses a symbol. You can supply a custom symbol i.e. object that implements a draw
as per https://github.com/d3/d3-shape#symbol_type or supply a totally custom reusable component.
let points = [ [ -76.852587, 38.991621, 'NY' ], [ -0.076132, 51.5074, 'London' ] ],
function pointsDisplay(selection) {
selection.each(function(d, i) {
let node = select(this).selectAll('text').data([ d ]);
node = node.enter().append('text').merge(node);
node.text(d[2]);
});
}
d.id
https://en.wikipedia.org/wiki/ISO_3166-1_numeric
Property | Description | Transition | Preview |
---|---|---|---|
classed | String SVG custom class | N | |
width , height , size , scale | Integer SVG container sizes | Y | Pen |
style | String Custom CSS to inject into chart | N | |
projection | http://map-projections.net/patterson.php | ||
interrupted | Enabled clipping for interrupted projections | ||
country | Boolean enable country polygons | ||
fill | Land filling | ||
points | Decimal expression of [ Longitude, Latitude ] |
FAQs
Generates geo maps using D3v4.
The npm package @redsift/d3-rs-geo receives a total of 0 weekly downloads. As such, @redsift/d3-rs-geo popularity was classified as not popular.
We found that @redsift/d3-rs-geo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 23 open source maintainers 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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.