
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@redsift/d3-rs-schedule
Advanced tools
d3-rs-schedule
generate a schedule / calander like presentation via the D3 reusable chart convention.
View @redsift/d3-rs-schedule on Codepen
<script src="//static.redsift.io/reusable/d3-rs-schedule/latest/d3-rs-schedule.umd-es2015.min.js"></script>
<script>
var chart = d3_rs_schedule.html();
d3.select('body').datum([ { s: 1469723575941, e: 1469726870991, t: "Text to display", u: "proposed" } ]).call(chart);
</script>
import { chart } from "@redsift/d3-rs-schedule";
let eml = chart.html();
...
var chart = require("@redsift/d3-rs-schedule");
var eml = chart.html();
...
[{ s: 1469723575941, e: 1469726870991, t: "Text to display", u: "proposed" } ...]
s
start timestamp for the event (epoch UTC ms)
e
start timestamp for the event (epoch UTC ms)
t
text to display
u
status text for the event. This is used by the default fill function to highlight events. The known values are proposed
, conflict
and provisional
.
Property | Description | Transition | Preview |
---|---|---|---|
classed | String SVG custom class | N | |
width , height , size , scale | Integer SVG container sizes | Y | |
style | String Custom CSS to inject into chart | N | |
indexFormat | String, Function Change the time presentation on the axis. If string, utilises d3-time-format. If a function, must be a comptabile formatter. Default %Hh | ||
language | String Change the language, affects time formats. Typically auto detected from the browser. | ||
timezone | String Set the timezone for display e.g. Asia/Colombo | ||
prefixDurationFormat | String Prefix the event text with start and end time | ||
tickInterval | Array Interval of the ticks, typically an interval and a specifier e.g. d3.timeMinute.every(15) | ||
eventWidth | Integer Width to use for the event rects |
Timezones that differ from UTC with 30 or 45 min offsets do not present the correct boundaries.
FAQs
Generates a calendar like schedule using D3v4.
We found that @redsift/d3-rs-schedule demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.