Skip to content

Declarative, interactive, linked πŸ“ŠπŸ“ˆ components

Notifications You must be signed in to change notification settings

maherma-adg/vueplotlib

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Build Status Coverage Status npm version

vueplotlib

V

This repository will serve as a place for reusable Vue plot components (built with D3). These components were developed for use in ExploSig.

Features

  • Declarative: declare scales, data, and styling options
  • Interactive: hover and click events, axis brushing, downloading (to SVG)
  • Fast: canvas plots
  • Linked: declarative API enables automatic linking of scales across plots
  • History: record interactions for forward/backward navigation, import/export (via JSON)
  • Composable: axes and legends are separate from plots, mix and match
  • Customizable: extend the scale classes (see GenomeScale, BinaryScale). extend the history capabilities.

Installation

yarn add vueplotlib

Example Usage

Please see the vueplotlib-examples repository for minimal examples of usage.

Plot Components

  • BarPlot βœ…
  • StackedBarPlot βœ…
  • ScatterPlot βœ…
  • TrackPlot βœ…
  • MultiTrackPlot βœ…
  • BoxPlot βœ…
  • MultiBoxPlot βœ…
  • HierarchicalMultiTrackPlot βœ…

Stratified Plot Components

  • StratifiedBoxPlot βœ…
  • StratifiedScatterPlot βœ…
  • StratifiedSinaPlot βœ…
  • StratifiedKaplanMeierPlot βœ…

Genome Plot Components

  • GenomeScatterPlot βœ…
  • GenomeStackedBarPlot βœ…
  • GenomeTrackPlot βœ…
  • GenomeMultiTrackPlot βœ…

Axis Components

  • Axis βœ…
  • GenomeAxis βœ…
  • DendrogramAxis βœ…

Legend Components

  • CategoricalLegend βœ…
  • ContinuousLegend βœ…

Other Components

  • PlotContainer βœ…
  • SortOptions βœ…

Future Plans for Components

  • GenomeBarPlot
  • GroupedBarPlot
  • ViolinPlot
  • SinaPlot
  • BeeswarmPlot
  • JitterPlot
  • HorizontalBarPlot
  • HorizontalStackedBarPlot
  • HorizontalBoxPlot
  • HorizontalMultiBoxPlot
  • LinePlot
  • KaryotypePlot
  • GenomeGenePlot

Development

Install dependencies:

yarn

Serve for development at http://localhost:8080:

yarn run serve

Build for production (generates /dist and /examples):

yarn run build

Run tests with jest:

yarn run test

Compile documentation with documentationjs:

yarn run docs



This was inspired by the following projects:

About

Declarative, interactive, linked πŸ“ŠπŸ“ˆ components

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 86.0%
  • JavaScript 13.9%
  • CSS 0.1%