New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

3d-pie-chart

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

3d-pie-chart

Raphael plugin 3d pie chart

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

3D Pie Chart

Adorable and highly customizable Raphaël 3d pie/dounut chart.

Installation

npm install 3d-pie-chart --save

Build

npm run build

The bundle file includes raphael.js, there is no need to download it separately.

Usage

run on test page
npm run start:dev
run on your own page

Build first, then use generated dist/3d-pie.bundle.js file in your html

<script src="your/path/3d-pie.bundle.js"></script>

Example

pieChart({
	containerId: "wrapper",
	title: "Expenses",
	data: [
		{
			value: 45,
			color: "#00ff00",
			label: "January - 45"
		},
		{
			value: 49,
			color: "#ff0011",
			label: "February - 49"
		},
		{
			value: 40,
			color: "#0079fa",
			label: "March - 40"
		}
	]
});

Keywords

FAQs

Package last updated on 05 Jun 2020

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