
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
D3_Rails is a small, lightweight gem which allows you to include any and all of D3 Javascripts into your 3.1 Rails application, merely by including any desired D3 files into your application.js manifest.
D3 is a small, free JavaScript library for manipulating HTML documents based on data. D3 can help you quickly visualize your data as HTML or SVG, handle interactivity, and incorporate smooth transitions and staged animations into your pages. You can use D3 as a visualization framework (like Protovis), or you can use it to build dynamic pages (like jQuery).
d3.js
d3.min.js
This gem should work out of the box. All you have to do is add the gem to your Gemfile:
gem 'd3_rails'
Then bundle install or update (depending on if you want to upgrade an older version of this gem).
bundle install
bundle update
For use with the asset pipeline, you can include the d3 javascript in your rails application by merely including the following line in your application.js manifest
//= require jquery
.
.
//= require d3
Version numbers of this gem have been changed as of 2-2-2012 to reflect the d3 version numbers.
As of version 3.0.0, the extraneous files from legacy version of d3 have been removed.
FAQs
Unknown package
We found that d3_rails 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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.