Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@times-visuals/hemicycle

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-visuals/hemicycle

Hemicycle template to visualise some parliaments around the world

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
5
25%
Maintainers
2
Weekly downloads
 
Created
Source

Hemicycle

A hemicycle shaped D3 chart

Installation

# Yarn
$ yarn add @times-visuals/hemicycle

# npm
$ npm add @times-visuals/hemicycle

Usage

Takes a data array in the following format:

import Hemicycle from "@times-visuals/hemicycle";

const data = [
  {
    id: "upa",
    name: "UPA",
    seats: 66,
    color: "#00BFFF",
    longName: "United Progressive Alliance"
  }
];

export default () => <Hemicycle data={data} showLegend={true} />;

FAQs

Package last updated on 14 Jun 2019

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