1.2.0 • Published 5 years ago

@times-visuals/hemicycle v1.2.0

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
5 years ago

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} />;
1.2.0

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago