Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@redsift/d3-rs-calendar-chart

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redsift/d3-rs-calendar-chart

Generates a calendar chart using D3v4.

  • 0.3.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

d3-rs-calendar-chart

d3-rs-calendar-chart easily generate a single character icon.

Builds

Circle CI

Example

View @redsift/d3-rs-calendar-chart on Codepen

Usage

Browser

<script src="//static.redsift.io/reusable/d3-rs-calendar-chart/latest/d3-rs-calendar-chart.umd-es2015.min.js"></script>
<script>
	var chart = d3_rs_calendar_chart.html().lastWeeks(12);
	...
</script>

ES6

import { chart } from "@redsift/d3-rs-calendar-chart";
let eml = chart.html();
...

Require

var chart = require("@redsift/d3-rs-calendar-chart");
var eml = chart.html();
...

Parameters

NameDescriptionTransition
classedSVG custom classN
widthWidth of the calendarY
heightHeight of the calendarY
scaleScale of the calendarY
lastWeeksNumber of weeks in the past from nowY
nextWeeksNumber of weeks in the future from nowY
coloursColour palette for the data. Expected values green|blue|purple, or an array of RGB values e.g. ['#b0e288', ... ] preferably length >= 5Y

Keywords

FAQs

Package last updated on 27 Jun 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc