New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dve

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dve

Graphs and stuff

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
3
Created
Source

DVE

Visualisations built from a simple json structure.

Styles can be required from style/dve.styl'. DVE visualisations must be wrapped in a .dve-container` to work.

Chart layout

                            container                            
 ________________________________________________________________
|                                               |                |
|                                               |                |
|      ___________________________________      |                |
|     |                                   |     |                |
|     |                                   |     |                |
|     |                                   |     |                |
|     |                                   |     |                |
|     |               inner               |     |     legend     |
|     |                                   |     |                |
|     |                                   |     |                |
|     |                                   |     |                |
|     |___________________________________|     |                |
|                                               |                |
|                                               |                |
|_______________________________________________|________________|

The container is the element passed to dve. Its width should be set in CSS, but DVE may override with a max/min width.

The inner contains the actual graph. Axes, labels, and titles sit outside of the inner.

Legends and other extra areas are offest from the inner and its margins. These will usually have fixed widths.

Usually, the size of inner will be dynaimc. Ideally, the inner width will be the width of the provided container, less any legend and margin. However, if the container is too small or too big, the inner may decide to override this.

Keywords

d3

FAQs

Package last updated on 11 Apr 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