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.
react-vertical-bar-chart
Advanced tools
Vertical scrolling bar chart for React.
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-vertical-bar-chart
import React from 'react'
import VerticalBarChart from 'react-vertical-bar-chart';
const App = () => {
...
return (
<VerticalBarChart
data={data}
/>
)
}
export default App
The VerticalBarChart component takes the following props:
BarDatum[]
(value: number) => string | number
React.ReactElement<any> | string | undefined | null
(event: RowHoverEvent) => void
Layout
string
(value: string) => void
number
number
string
string
string
string
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 scrolling bar chart for React
The npm package react-vertical-bar-chart receives a total of 2 weekly downloads. As such, react-vertical-bar-chart popularity was classified as not popular.
We found that react-vertical-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’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.