
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
react-svg-graph-bradchristensen
Advanced tools
A simple svg-based graph component for React that plots the given data as either a bar or line graph. Any changes to the data will trigger an animated transition between the old and new graph. The component accepts various props that allow you to set the sizing and behaviour of the graphs.
Inspired by libraries like d3.js and dc.js, this provides a simple component without any extra dependencies or the overhead of any libraries other than React.
:warning: Currently still a work in progress
** More features to come in the future **
jwarning.github.io/react-svg-graph
Optional props to set on the component:
The data points should be structured in an array as follows:
[{
id: // key of the point (will appear on the x axis),
value: // numeric value of the point
}, ...]
To build a CommonJS version of this file simply run gulp build
.
If you want a different output type you can simply set the option on the Babel
step in the gulpfile. A build is already included in the dist folder.
FAQs
An SVG-based graph component for React
The npm package react-svg-graph-bradchristensen receives a total of 2 weekly downloads. As such, react-svg-graph-bradchristensen popularity was classified as not popular.
We found that react-svg-graph-bradchristensen 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.