• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart

By Abhishek Ghosh March 31, 2014 7:35 pm Updated on March 31, 2014

jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart

Advertisement

Here is a Nice jQuery Plugin Which Can Convert Data to Inline SVG Pie, Line or Bar Chart in Very Easy to Follow Steps. Here are Some Details. In certain type of weblogs or webpages, it is quite important to show SVG Pie, Line or Bar Chart inline, the method must have cross browser compatibility, cross operating system compatibility and multi device support. As can be guessed, this jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart not only fulfills these criterion but also is free.

 

Peity : The jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart

 

Peity is the name of the jQuery Plugin and here is the official repository :

 

Vim
1
https://github.com/benpickles/peity

 

Actually the repository looks bigger but the jQuery, even not in minified form is not very bigger – https://gist.github.com/AbhishekGhosh/9900038. Including the script here would convert the guide to relatively difficult to read. As you can see, there are explicit values :

Advertisement

---

Vim
1
fill: ["#ff9900", "#fff4dd", "#ffc66e"]

which obviously can be changed according to your need. If you use data attributes, Peity will apply their values to the defaults with the same names automatically, that way is more easy.

 

Demonstration of the jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart

 

jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart

Excellent documentation and live examples can be seen here :

Vim
1
http://benpickles.github.io/peity/

Just include the span class as your data :

Vim
1
<span class="bar">5,3,9,6,5,9,7,3,5,2</span>

and include the jQuery Plugin and you will get the nice result. So, actually 3 Js are required :

Vim
1
2
3
//your.cdn.com/jquery/1.6.2/jquery.min.js
//your.cdn.com/jquery.peity.js
//your.domain.com/

Tagged With D5ON
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to jQuery Plugin to Convert Data to Inline SVG Pie, Line or Bar Chart

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Scalable Vector Graphics (SVG) and image/svg+xml

    Scalable Vector Graphics (SVG) is a W3C specification for describing two-dimensional vector graphics. image/svg+xml is the Internet media type.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy