
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
react-comparison-bar-chart
Advanced tools
Vertical comparison bar chart component for comparing the difference in values between two datasets.
Vertical comparison bar chart component for comparing the difference in values between two datasets.
This package is part of Harvard Growth Lab’s portfolio of software packages, digital products and interactive data visualizations. To browse our entire portfolio, please visit growthlab.app. To learn more about our research, please visit Harvard Growth Lab’s home page.
npm install --save react-comparison-bar-chart
import React from 'react'
import ComparisonBarChart from 'react-comparison-bar-chart';
const App = () => {
...
return (
<ComparisonBarChart
primaryData={primaryDataset}
secondaryData={secondaryDataset}
nValuesToShow={10}
/>
)
}
export default App
The ComparisonBarChart component takes the following props:
BarDatum[]
BarDatum[]
number
(value: number) => string | number
string
\string
\(label: string, count: number, max: number) => string
\string
, toCollapse: string
}string
(event: RowHoverEvent) => void
boolean
boolean
Layout
string
(event: React.MouseEvent<HTMLElement>) => void
(value: string) => void
The BarDatum type is an interface of the following values:
string
string
number
string
The RowHoverEvent type is an interface of the following values:
BarDatum[]
| undefined
number
, y: number
}The Layout type is an enum with the following values:
left
right
FAQs
Vertical comparison bar chart component for comparing the difference in values between two datasets.
The npm package react-comparison-bar-chart receives a total of 4 weekly downloads. As such, react-comparison-bar-chart popularity was classified as not popular.
We found that react-comparison-bar-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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.