
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.
svg-graph-test
Advanced tools
This repo is the continuation of the original SVG::Graph library by Sean Russell. I'd like to thank Claudio Bustos for giving me permissions to continue publishing the gem under it's original name: svg-graph
I'm maintaing in my free time, so I can't promise on any deadlines. Please notify me (via github messages or on the Issues section) if you find any bug.
Pull requests are very welcome :-)
For a complete list of configuration options please have a look at the source - most important Graph.rb, also checkout the subclasses (Pie, Bar, etc.) as they might provide additional options.
You can require everything at once
require 'svggraph'
or only the individual parts you need
require 'SVG/Graph/Bar'
require 'SVG/Graph/Line'
...
In the following some examples to get you up to speed.
require 'SVG/Graph/Bar'
x_axis = ['1-10', '10-30', '30-50', '50-70', 'older']
options = {
:width => 640,
:height => 300,
:stack => :side, # the stack option is valid for Bar graphs only
:fields => x_axis,
:graph_title => "kg per head and year chocolate consumption",
:show_graph_title => true,
:show_x_title => true,
:x_title => 'Age in years',
:show_y_title => true,
:y_title => 'kg/year',
:y_title_location => :end,
:no_css => true
}
male_data = [2, 4, 6, 4, 2]
female_data = [1, 5, 4, 5, 2.7]
g = SVG::Graph::Bar.new(options)
g.add_data( {
:data => female_data,
:title => "Female"
})
g.add_data( {
:data => male_data,
:title => "Male"
})
# graph.burn # this returns a full valid xml document containing the graph
# graph.burn_svg_only # this only returns the <svg>...</svg> node
File.open('bar.svg', 'w') {|f| f.write(g.burn_svg_only)}
Source: C3js.rb
bundle exec rake
gem build svg-graph.gemspec
gem install svg-graph-\<version>.gem
https://docs.percy.io/docs/travis-ci https://docs.percy.io/docs/snapshot-cli-command
FAQs
Unknown package
We found that svg-graph-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.