I'm a ruby developer over at ioki.
Here are some contributions to open source projects I am particularly proud of:
Create charts, graphs and info graphics with ruby as SVG, JPG or PNG
License: MIT License
I'm a ruby developer over at ioki.
Here are some contributions to open source projects I am particularly proud of:
Instead of providing the item colors as a key in the data hash, we should pass in the data as a simple Array and pass in the colors as an option.
We should fail if the number of colors does not match the number of data items unless no colors are provided.
If no colors are provided, we should provide a set of default colors, maybe move BarGraph#colors to Graph.
For example:
CircleCountGraph.new([32,21,12], colors: [:red, :blue, :green])
The SymbolCountGraph gets Symbols passed from Options
SymbolCountGraph.new([12,4,15], colors: ['*', '@', '$']
css-class definition in style causes ArgumentError in BitmapGraph
def body(x, y, color)
center_x = center_(x)
top = y + item_height / 2
bottom = y + item_height
style = {
stroke: color,
stroke_width: item_width / 4,
stroke_linecap: 'round',
class: 'body' <-----------------------------------------
}
renderer.line center_x, top, center_x, bottom, style
end
Allow the configuration of a background color. Default is white.
we want to be able to ask for this:
labels.blank?
and not for this
if options[:labels]...
We need to be able to set a outer margin, so that the items do not go to the edge of the image. The default should be 20px.
in lib/graph.rb
We need to be able to set a inner margin between the items, so that they do not touch each other. The default should be 2px.
We need to be able to provide an option which allows us to specify a label for each data item. The names should be rendered in a legend box below the dots
We should fail if the number of labels is smaller then the number of data items unless no labels are provided.
For example:
CircleCountGraph.new([32,21,12], labels: ['Cars', 'Buses', 'Bikes'])
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.