
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@types/d3
Advanced tools
npm install --save @types/d3
This package contains type definitions for d3JS (http://d3js.org/).
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3/v3
Additional Details
These definitions were written by Alex Ford https://github.com/gustavderdrache, Boris Yankov https://github.com/borisyankov, Matthias Jobst https://github.com/MatthiasJobst.
Chart.js is a powerful, easy-to-use, pure JavaScript charting library. It provides a simpler API for creating a wide variety of charts. While it doesn't offer the same level of customization or low-level control as D3.js, it's a great choice for quickly creating common chart types without needing to manage SVG or Canvas directly.
Highcharts is a comprehensive charting library that makes it easy to add interactive charts to web and mobile projects. It offers a wide range of chart types and is designed for ease of use. Compared to D3.js, Highcharts abstracts more of the chart creation process, offering a higher-level API that requires less coding to produce charts, but with less flexibility for custom visualizations.
Plotly.js is a high-level, declarative charting library built on top of D3.js and stack.gl. It provides an easy way to create interactive, multi-platform graphs and charts. Plotly.js abstracts much of the complexity of D3.js, offering a simpler interface for creating complex visualizations, including 3D charts and statistical graphs.
FAQs
TypeScript definitions for d3
The npm package @types/d3 receives a total of 1,500,388 weekly downloads. As such, @types/d3 popularity was classified as popular.
We found that @types/d3 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.