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

@adyen/lume

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adyen/lume

Lume is a component library for visual representations of data, built for Vue with D3.

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
154
decreased by-33.04%
Maintainers
3
Weekly downloads
 
Created
Source

Lume

PR workflow MIT License Netlify Status

Lume is a library for graphical representations of information and data. By using visual elements like charts, graphs, and maps, this repository provide an accessible way to see and understand trends, outliers, and patterns in data. We use Vue to all graphic elements and rely on d3.js for the calculations.

Design guidelines (Figma)

Stack

Dependencies

Dev stack

Getting started

Installation

To install Lume, run the following command:

$ npm install @adyen/lume

Plugin

The default export of Lume is a Vue plugin that you can install in your global Vue setup:

import Vue from 'vue';
import Lume from '@adyen/lume';

import App from './my-app.vue';

Vue.use(Lume);

const app = new Vue(App).$mount('#root');

Components

If, instead of using the Vue plugin, you rather import single components as you go, you can do that as well:

// SFC <script type="ts">

import { defineComponent } from 'vue';
import { LumeBarChart } from '@adyen/lume';

export default defineComponent({
  components: { LumeBarChart },
  ...
});

Development

Quick start

Follow these steps to quickly start developing amazing data-viz components locally:

  1. Clone the repo
     $ git clone git@github.com:Adyen/lume.git
    
  2. Install npm packages
    $ npm i
    
  3. Run the local server
    $ npm start
    
Storybook

Storybook is available by running the following command:

$ npm run storybook

Every chart component should have its own .stories file, and it will be automatically loaded onto the Storybook manager.

Available addons

Roadmap

The charts we wish to include:

V1
  • Alluvial diagram
  • Bar chart
    • Single
    • Stacked
    • Grouped
    • Horizontal orientation for all
  • Line chart
  • Sparkline chart
Next

The following are planned for future releases:

  • Violin plot
  • Box plot
  • Mini bar chart (Bar sparkline)

Note: Components from this list can change, so being here doesn't mean it will land on the library for sure.

Contacts

This project is currently being developed & maintained by team Lume. This includes:

Keywords

FAQs

Package last updated on 23 Nov 2022

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