Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ngx-d3-pie-chart
Advanced tools
This library is a simple Angular component featuring a pie chart rendered with D3.js. It's probably useful, but it's principal purpose it to illustrate the article I've published at https://www.beyondjava.net/ngx-d3-pie-chart.
This library is a simple Angular component featuring a pie chart rendered with D3.js. It's probably useful, but it's principal purpose it to illustrate the article I've published at https://www.beyondjava.net/ngx-d3-pie-chart.
However, feel free to contribute pull request to make this library a first-class citizen of the Angular and D3 world!
The library has been developed with Angular 6. In theory, it should work with older versions of Angular, too, but I haven't tested this yet.
There's a minimalistic demo project at https://github.com/stephanrauh/ngx-d3/tree/simple-pie-chart.
Install the library with npm i ngx-d3-pie-chart --save
<lib-pie-chart [data]="pieChartData"></lib-pie-chart>
import { PieChartData } from 'projects/pie-chart/src/public_api';
...
public pieChartData: Array<PieChartData>: Array<PieChartData> = [
{ value: 10, caption: 'apples', color: 'green' },
{ value: 20, caption: 'oranges', color: 'orange' },
{ value: 30, caption: 'bananas', color: 'yellow' }
];
Pull requests and bug reports are welcome. Please send them to the bug tracker of the project page: https://github.com/stephanrauh/ExploringAngular/tree/master/embedding-pdf
ngx-d3-pie-chart has been published under an Apache V2 license.
The library is based on https://github.com/d3, which has been published under an BSD 3-Clause "New" or "Revised" License
FAQs
This library is a simple Angular component featuring a pie chart rendered with D3.js. It's probably useful, but it's principal purpose it to illustrate the article I've published at https://www.beyondjava.net/ngx-d3-pie-chart.
We found that ngx-d3-pie-chart 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.