Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrbrmstr/slopegraph
A 'slopegraph' ('table-chart') generator in Python using Cairo/Raphaël. Currently handles a two column chart with _many_ output options. Look at the '/examples' directory for sample configurations, data files and output formats.
https://github.com/hrbrmstr/slopegraph
Last synced: 3 months ago
JSON representation
A 'slopegraph' ('table-chart') generator in Python using Cairo/Raphaël. Currently handles a two column chart with _many_ output options. Look at the '/examples' directory for sample configurations, data files and output formats.
- Host: GitHub
- URL: https://github.com/hrbrmstr/slopegraph
- Owner: hrbrmstr
- License: mit
- Created: 2012-05-29T01:15:20.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-21T04:49:34.000Z (over 12 years ago)
- Last Synced: 2023-03-12T03:03:50.017Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 2.76 MB
- Stars: 22
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE.txt
Awesome Lists containing this project
README
I've been wanting to throw together some non-R code to make basic
slopegraphs for quite some time. Python seems to be a bit
more accessible to folks, so it seemed like the logical choice,
especially given how spiffy the Cairo framework is.If you're not familiar with slopegraphs, this effort was designed to
produce something similar to the one found here:http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003nk
Just scroll down a bit to find the graph that looks similar with the
life expectancy data (the "television" data in the "examples"
directory).I haven't included much outside of stock 2.7.x libraries, so all you
should need is Cairo (http://cairographics.org/) to get the code up
and running on any platform.Releasing it all under the MIT license:
Copyright (c) 2012 Bob Rudis, @hrbrmstr, http://rud.is/
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.