Vue Speedometer

screenshot of Vue Speedometer
react
vite
vue

Vue component library for showing speedometer like gauge using d3

Overview

vue-speedometer is a Vue component library that allows users to display a speedometer-like gauge using d3. It is compatible with Vue 2 and Vue 3, with separate versions available for each. The library can be installed via Yarn or NPM and provides various configuration options for customization.

Features

  • Value: Accepts a number value that determines the position of the speedometer needle.
  • MinValue: Defines the minimum value of the speedometer scale.
  • MaxValue: Defines the maximum value of the speedometer scale.
  • Segments: Determines the number of segments in the speedometer gauge.
  • MaxSegmentLabels: Limits the number of segment labels displayed on the gauge.
  • ForceRender: Allows users to force a rerender of the entire component when props change.
  • Width: Sets the diameter of the speedometer and the width of the SVG element.
  • Height: Sets the height of the SVG element.
react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.