Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
MapD3 is a D3v4 charts library developed for MapD Immerse. It is in active development, currently at 0.16. We will accept PRs and bug reports once we reach 1.0.0.
The main component is mapd3.chart
, which is a wrapper for a suite of sub-components, like axis, tooltip, marks, labels, etc. The chart type is nothing more than a configuration option (currently line, area, bar and variants of those).
The documentation is generated with documentationjs.
The chart API is very simple: instantiate a chart, set configuration, set data, which automatically triggers a render, otherwise explicitely call render.
mapd3.Chart(document.querySelector('.chart'))
.setConfig({
width: 800,
height: 400,
keyType: "time",
chartType: "line"
})
.setData(data)
A complete example, including the use of a data generator, is available in this ObservaleHQ Notebook: https://beta.observablehq.com/@biovisualize/mapd3-test-sheet.
Look in /package.json for the build scripts. It is available as an npm package.
If, for some reason, you get errors about d3/build/d3.js
missing, try running npm run clean
and npm install
.
FAQs
A fast chart library for the fastest DB
The npm package mapd3 receives a total of 9 weekly downloads. As such, mapd3 popularity was classified as not popular.
We found that mapd3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.