# vue-svg-arc-animation

> Animate SVG using d3.js

Latest version **0.0.5** (published 2020-08-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-svg-arc-animation
pnpm add vue-svg-arc-animation
yarn add vue-svg-arc-animation
bun add vue-svg-arc-animation
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2020-08-02 |
| First published | 2018-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | iskandarjamil |

## Links

- npm: https://www.npmjs.com/package/vue-svg-arc-animation
- npm.io page: https://npm.io/package/vue-svg-arc-animation

## Dependencies (5)

- [d3-ease](https://npm.io/package/d3-ease.md) ^1.0.6
- [d3-shape](https://npm.io/package/d3-shape.md) ^1.3.7
- [d3-selection](https://npm.io/package/d3-selection.md) ^1.4.2
- [d3-transition](https://npm.io/package/d3-transition.md) ^1.3.2
- [d3-interpolate](https://npm.io/package/d3-interpolate.md) ^1.4.0

## Recent versions

- 0.0.5 (latest) — 2020-08-02
- 0.0.1 — 2018-01-22

## README

# Vue SVG Arc Animation
Built with [Vue.js](https://vuejs.org) and [D3](https://d3js.org/). Developed by [iskandarjamil](http://iskandarjamil.com).

<p align="center">
  <img src="https://raw.githubusercontent.com/iskandarjamil/vue.svg-arc-animation.plugin/master/images/preview.gif" align="center" width="708"/>
</p>

## Demo
[View example](http://htmlpreview.github.io/?https://github.com/iskandarjamil/vue.svg-arc-animation.plugin/blob/master/example/index.html)!

## Installation
``` bash
# Intall via NPM
$ npm install vue-svg-arc-animation --save

or

# Intall via Bower
$ bower install vue-svg-arc-animation --save
```


## Usage
```html
<body>
  <div id="main">
    <svg-arc-animation :value="300" :total="1000"></svg-arc-animation>
    <svg-arc-animation :value="700" :total="1000" :size="100" :delay="200" :duration="2000" :color="'orange'"></svg-arc-animation>
    <svg-arc-animation :value="500" :total="1000" :size="80" :delay="400" :duration="2000" :color="'blue'" :direction="'rtl'"></svg-arc-animation>
  </div>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.13/vue.js"></script>
  <script src="./dist/svg-arc-animation.min.js"></script>
  <script>
    var app = new Vue({
      el : '#main',
    });
  </script>
</body>
```

or

```html
<body>
  <div id="main"></div>

  <script>
    import Vue from 'vue';
    import SvgArcAnimation from "vue-svg-arc-animation";

    Vue.use(SvgArcAnimation);

    new Vue({
      el: '#main',
      template: `
        <div>
          <svg-arc-animation :value="300" :total="1000"></svg-arc-animation>
          <svg-arc-animation :value="700" :total="1000" :size="100" :delay="200" :duration="2000" :color="'orange'"></svg-arc-animation>
          <svg-arc-animation :value="500" :total="1000" :size="80" :delay="400" :duration="2000" :color="'blue'" :direction="'rtl'"></svg-arc-animation>
        </div>
      `,
    });
  </script>
</body>
```

## License
[MIT](https://github.com/iskandarjamil/vue.svg-arc-animation.plugin/blob/master/LICENSE) license.

---
_Source: https://npm.io/package/vue-svg-arc-animation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
