This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Bar Charts In Pure HTML And CSS

Project Description

This library is designed for the kind of (desesperate) situation where you want to display bar charts but with the constraint that your HTML document must not depend on additional files or remote webservices.

baciphacs will use basic HTML code with some bits of CSS style embeded in tags, to display a reasonably readable chart.

If you need pretty or advanced graphs and don’t have any strict constraints on your HTML’s dependency, many libraries exists that generate much much better looking graphs.

baciphacs is licensed under the 2 close BSD License, and more detailed information about it can be found at GitHub:

https://github.com/tibonihoo/baciphacs.

It is tested on Travis-CI:

https://travis-ci.org/tibonihoo/baciphacs

Example for horizontal bar charts

Code sample:

from baciphacs import DataSample
from baciphacs import GenerateHTMLHorizontalBarChart

data = [("ba",3,2),("c",6,1),("i",2,1),("p",4,1),("h",4,1),("a",3,1),("cs",3,2)]
dataSamples = [DataSample._make(t) for t in data]
print GenerateHTMLHorizontalBarChart(dataSamples,numStdev=2,color="blue")

The Python code above will generate an HTML snippet that renders like a bar chart:

http://htmlpreview.github.io/?https://github.com/tibonihoo/baciphacs/blob/master/doc/index.html

Release History

Release History

This version
History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
baciphacs-1.0-py2.7.egg (7.0 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 1, 2013
baciphacs-1.0.tar.gz (6.0 kB) Copy SHA256 Checksum SHA256 Source Jun 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting