Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
d3-world-maps
Advanced tools
Readme
This library was built to promote data sharing on a global scale.
In your html, you must create an element with an id of 'world-map' or create a custom class or id to select. Specify the dimensions here with height & width attributes.
<body>
<div class='world-map' width='500' height='500'> </div>
</body>
npm install d3-world-maps
import * as d3WorldMaps from 'd3-world-maps';
var d3WorldMaps = require('d3-world-maps');
var map = new d3WorldMaps.WorldMap(
{
el: '.world-map', // where the Map Lies
projection: 'Mercator',
locationPins: [
{coords: [55, 55], opacity: 0.2},
{coords: [13, 13], radius: 4},
{coords: [12, -45], color: 'yellow', radius: 4, opacity: 0.7}
],
oceanFill: 'black'
);
map.init();
const defaultOptions = {
el: '#world-map',
landFill: 'orange',
projection: 'Orthographic',
oceanFill: '#0e1e32',
locationPins: null
};
The Orthographic xyz axis drag functionality was inspired by: Rotate the World
TopoJson was created using world-atlas
Workflow inspired by react-serial-forms
FAQs
Barebone world map template build for displaying data
The npm package d3-world-maps receives a total of 10 weekly downloads. As such, d3-world-maps popularity was classified as not popular.
We found that d3-world-maps 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.