Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "d3-loom", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "a d3 plugin to create a loom chart layout", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# d3-loom | ||
For an extensive explanation of the effects of all the settings decribed farther below, please see the [blog/tutorial I wrote about the loom here](https://www.visualcinnamon.com/2017/08/d3-loom.html). | ||
This is a d3 plugin to create a "loom" visualization. For an extensive explanation of the effects of all the settings decribed farther below, please see the [blog/tutorial I wrote about the loom here](https://www.visualcinnamon.com/2017/08/d3-loom.html). | ||
This is a d3 plugin to create a "loom" visualization. I don't actually know node.js, thereby no npm, so if you feel this repo isn't a fully fledged plugin, because it's missing a lot of files (and isn't on npm), I'm fine with that. I just wanted to share a way for others to make use of a new chart layout in d3 that was within my abilities (but any help in turning this into a proper plugin would be appreciated!). | ||
[![The words spoken by the Fellowship member during all 3 movies](lotr.png "The words spoken by the Fellowship member during all 3 movies")](https://bl.ocks.org/nbremer/4530f11952a3ef7e007ad6ef93d5adb3) | ||
@@ -20,7 +18,8 @@ | ||
You must include the [d3 library](http://d3js.org/) before including the loom file. Then you can add the loom.js file to your website | ||
Download the [latest build](build/). **d3-loom** depends on **d3**, so be sure to include a script tag with the [d3 library](http://d3js.org/) before including `d3-loom.js`. In a vanilla environment, a d3 global is exported: | ||
```html | ||
<script src="https://d3js.org/d3.v4.min.js"></script> | ||
<script src="loom.js"></script> | ||
<script src="d3-loom.js"></script> | ||
@@ -34,2 +33,16 @@ <script> | ||
If you use a package manager like [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/en/), say | ||
``` | ||
npm install d3-loom | ||
``` | ||
or | ||
``` | ||
yarn add d3-loom | ||
``` | ||
to add [d3-loom](https://www.npmjs.com/package/d3-loom) to your project. AMD, CommonJS, and vanilla environments are supported. | ||
## Note | ||
@@ -36,0 +49,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
4676
308
562455